Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Jul 16, 2024
1 parent 15d84ea commit 7b2ed58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanalyze/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def make_type_var_value(tv: TypeVarLike, ctx: Context) -> TypeVarValue:
else:
bound = None
if isinstance(tv, (TypeVar, typing_extensions.TypeVar)) and getattr(
tv, "__constriants__", ()
tv, "__constraints__", ()
):
constraints = tuple(
_type_from_runtime(constraint, ctx) for constraint in tv.__constraints__
Expand Down

0 comments on commit 7b2ed58

Please sign in to comment.