Skip to content

Commit 6a7f55a

Browse files
committed
Change memoryview generic default to Any
1 parent 0f9e134 commit 6a7f55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ 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=int) # possibly memoryview types
82+
_I = TypeVar("_I", int, bytes, float, bool, default=Any) # possibly memoryview types
8383
_T_co = TypeVar("_T_co", covariant=True)
8484
_T_contra = TypeVar("_T_contra", contravariant=True)
8585
_R_co = TypeVar("_R_co", covariant=True)

0 commit comments

Comments
 (0)