summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index ae1dd5c..d520f6b 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -805,9 +805,6 @@ class TypeVar( _Final, _Immutable, _TypeVarLike, _root=True):
Note that only type variables defined in global scope can be pickled.
"""
- __slots__ = ('__name__', '__bound__', '__constraints__',
- '__covariant__', '__contravariant__', '__dict__')
-
def __init__(self, name, *constraints, bound=None,
covariant=False, contravariant=False):
self.__name__ = name
@@ -907,9 +904,6 @@ class ParamSpec(_Final, _Immutable, _TypeVarLike, _root=True):
be pickled.
"""
- __slots__ = ('__name__', '__bound__', '__covariant__', '__contravariant__',
- '__dict__')
-
@property
def args(self):
return ParamSpecArgs(self)