commit | 85233bf74679a5dae4365507526789883a3c1158 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Feb 06 21:25:12 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Feb 06 21:25:12 2003 +0000 |
tree | bf180d690fe03682e3c09b1132d4a3dca54ce874 | |
parent | 694d9b354195ac3bf361b33601ed77e5b02e4fa7 [diff] [blame] |
Fix a bug in the way __getnewargs__ was handled.
diff --git a/Lib/copy.py b/Lib/copy.py index 9f8386e..739cf2d 100644 --- a/Lib/copy.py +++ b/Lib/copy.py
@@ -128,7 +128,7 @@ 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 = {}