Skip to content

Commit

Permalink
Remove __module__ assignment for TypeVar and friends (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed May 22, 2023
1 parent bbfd0cc commit 773090f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1372,10 +1372,6 @@ class _DefaultMixin:


class _TypeVarLikeMeta(type):
def __init__(cls, *args, **kwargs):
super().__init__(*args, **kwargs)
cls.__module__ = 'typing'

def __instancecheck__(cls, __instance: Any) -> bool:
return isinstance(__instance, cls._backported_typevarlike)

Expand Down

0 comments on commit 773090f

Please sign in to comment.