Skip to content

Commit ffb1e98

Browse files
committed
Fix, reference mypy issue
1 parent 010ca90 commit ffb1e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/builtins.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ if sys.version_info >= (3, 14):
7979
from _typeshed import AnnotateFunc
8080

8181
_T = TypeVar("_T")
82-
_I = TypeVar("_I", int, bytes, float, bool, default=Any) # possibly memoryview types # type: ignore[misc]
82+
# Type ignore needed because of https://github.com/python/mypy/issues/20184.
83+
_I = TypeVar("_I", int, bytes, float, bool, default=Any) # type: ignore[misc] # possibly memoryview types
8384
_T_co = TypeVar("_T_co", covariant=True)
8485
_T_contra = TypeVar("_T_contra", contravariant=True)
8586
_R_co = TypeVar("_R_co", covariant=True)

0 commit comments

Comments
 (0)