Skip to content

Commit 7b24727

Browse files
committed
is tuple rollback
1 parent 27493b3 commit 7b24727

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/functools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,7 @@ def __setstate__(self, state):
411411

412412
phcount, merger = _partial_prepare_merger(args)
413413

414-
if type(args) is not tuple:
415-
args = tuple(args) # just in case it's a subclass
414+
args = tuple(args) # just in case it's a subclass
416415
if kwds is None:
417416
kwds = {}
418417
elif type(kwds) is not dict: # XXX does it need to be *exactly* dict?

0 commit comments

Comments
 (0)