We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_PickleUsingNameMixin
typing
1 parent 15de493 commit d642c5bCopy full SHA for d642c5b
Lib/typing.py
@@ -937,13 +937,6 @@ def _is_typevar_like(x: Any) -> bool:
937
return isinstance(x, (TypeVar, ParamSpec)) or _is_unpacked_typevartuple(x)
938
939
940
-class _PickleUsingNameMixin:
941
- """Mixin enabling pickling based on self.__name__."""
942
-
943
- def __reduce__(self):
944
- return self.__name__
945
946
947
def _typevar_subst(self, arg):
948
msg = "Parameters to generic types must be types."
949
arg = _type_check(arg, msg, is_argument=True)
0 commit comments