Skip to content

Commit 773090f

Browse files
Remove __module__ assignment for TypeVar and friends (#175)
1 parent bbfd0cc commit 773090f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/typing_extensions.py

-4
Original file line numberDiff line numberDiff line change
@@ -1372,10 +1372,6 @@ class _DefaultMixin:
13721372

13731373

13741374
class _TypeVarLikeMeta(type):
1375-
def __init__(cls, *args, **kwargs):
1376-
super().__init__(*args, **kwargs)
1377-
cls.__module__ = 'typing'
1378-
13791375
def __instancecheck__(cls, __instance: Any) -> bool:
13801376
return isinstance(__instance, cls._backported_typevarlike)
13811377

0 commit comments

Comments
 (0)