Skip to content

Commit

Permalink
Update pyi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Aug 16, 2023
1 parent f5f8c7b commit a79c433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ def _is_likely_private_typevar(
return True
if sys.version_info < (3, 12):
return False
return any(
return any( # type: ignore[unreachable,unused-ignore]
isinstance(param, ast.TypeVar) and param.name == tvar_name
for param in method.type_params
)
Expand Down

0 comments on commit a79c433

Please sign in to comment.