summaryrefslogtreecommitdiff
path: root/Lib/pickletools.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-07 08:26:10 +0000
committerRaymond Hettinger <python@rcn.com>2004-12-07 08:26:10 +0000
commitc8c6f6451145e1ee6e09a8057e00f46eaa13b95b (patch)
tree02ebe26309cbec1c95731b92091e284cd1dc186b /Lib/pickletools.py
parent9e32da160f07a19b3ce1a986e5fd33ac09fc617b (diff)
downloadcpython-c8c6f6451145e1ee6e09a8057e00f46eaa13b95b.tar.gz
Remove reference to old pickle feature.
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r--Lib/pickletools.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index 5e05b641d4..d1ee5e8add 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