diff options
author | Raymond Hettinger <python@rcn.com> | 2004-12-07 08:26:10 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-12-07 08:26:10 (GMT) |
commit | 6c1e0fe7ba04f15b17bdc7495e471e7b3f23e7d5 (patch) | |
tree | e920e383d14b3f4fd72f46dc201f3c049ec391e3 /Lib | |
parent | 57aef9cb29c894497110f38949b8efb593a5c0c2 (diff) | |
download | cpython-6c1e0fe7ba04f15b17bdc7495e471e7b3f23e7d5.zip cpython-6c1e0fe7ba04f15b17bdc7495e471e7b3f23e7d5.tar.gz cpython-6c1e0fe7ba04f15b17bdc7495e471e7b3f23e7d5.tar.bz2 |
Remove reference to old pickle feature.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pickletools.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 5e05b64..d1ee5e8 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -1526,11 +1526,6 @@ opcodes = [ opcode is followed by code to create setstate's argument, and then a BUILD opcode to apply __setstate__ to that argument. - There are lots of special cases here. The argtuple can be None, in - which case callable.__basicnew__() is called instead to produce the - object to be pushed on the stack. This appears to be a trick unique - to ExtensionClasses, and is deprecated regardless. - If type(callable) is not ClassType, REDUCE complains unless the callable has been registered with the copy_reg module's safe_constructors dict, or the callable has a magic |