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 90dc0fd commit 10ee972Copy full SHA for 10ee972
1 file changed
Lib/functools.py
@@ -401,8 +401,6 @@ def __setstate__(self, state):
401
(namespace is not None and not isinstance(namespace, dict))):
402
raise TypeError("invalid partial state")
403
404
- # if args and args[-1] is Placeholder:
405
- # raise TypeError("unexpected trailing Placeholders")
406
phcount, merger = _partial_prepare_merger(args)
407
408
args = tuple(args) # just in case it's a subclass
0 commit comments