We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbcfb9c commit bcd227cCopy full SHA for bcd227c
1 file changed
nameparser/config/__init__.py
@@ -109,11 +109,13 @@ def __getattr__(self, attr):
109
__delattr__= dict.__delitem__
110
111
def __getstate__(self):
112
- return self
+ return dict(self)
113
114
def __setstate__(self, state):
115
- self = dict(state)
+ self.__init__(state)
116
117
+ def __reduce__(self):
118
+ return (TupleManager, (), self.__getstate__())
119
120
class Constants(object):
121
"""
0 commit comments