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.
1 parent 27493b3 commit 7b24727Copy full SHA for 7b24727
1 file changed
Lib/functools.py
@@ -411,8 +411,7 @@ def __setstate__(self, state):
411
412
phcount, merger = _partial_prepare_merger(args)
413
414
- if type(args) is not tuple:
415
- args = tuple(args) # just in case it's a subclass
+ args = tuple(args) # just in case it's a subclass
416
if kwds is None:
417
kwds = {}
418
elif type(kwds) is not dict: # XXX does it need to be *exactly* dict?
0 commit comments