diff options
author | 2003-02-06 21:25:12 +0000 | |
---|---|---|
committer | 2003-02-06 21:25:12 +0000 | |
commit | 85233bf74679a5dae4365507526789883a3c1158 (patch) | |
tree | bf180d690fe03682e3c09b1132d4a3dca54ce874 /Lib/copy.py | |
parent | Update doc to reflect code changes for obsoleting use_statcache parameter (diff) | |
download | cpython-85233bf74679a5dae4365507526789883a3c1158.tar.gz cpython-85233bf74679a5dae4365507526789883a3c1158.tar.bz2 cpython-85233bf74679a5dae4365507526789883a3c1158.zip |
Fix a bug in the way __getnewargs__ was handled.
Diffstat (limited to 'Lib/copy.py')
-rw-r--r-- | Lib/copy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/copy.py b/Lib/copy.py index 9f8386e0bdc..739cf2d7cd8 100644 --- a/Lib/copy.py +++ b/Lib/copy.py @@ -128,7 +128,7 @@ def _better_reduce(obj): listitems = iter(obj) elif isinstance(obj, dict): dictitems = obj.iteritems() - return __newobj__, (cls, args), state, listitems, dictitems + return __newobj__, (cls,) + args, state, listitems, dictitems _copy_dispatch = d = {} |