mirror of
https://github.com/python/cpython.git
synced 2025-11-28 14:11:15 +00:00
Remove reference to old pickle feature.
This commit is contained in:
parent
57aef9cb29
commit
6c1e0fe7ba
1 changed files with 0 additions and 5 deletions
|
|
@ -1526,11 +1526,6 @@ opcodes = [
|
||||||
opcode is followed by code to create setstate's argument, and then a
|
opcode is followed by code to create setstate's argument, and then a
|
||||||
BUILD opcode to apply __setstate__ to that argument.
|
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
|
If type(callable) is not ClassType, REDUCE complains unless the
|
||||||
callable has been registered with the copy_reg module's
|
callable has been registered with the copy_reg module's
|
||||||
safe_constructors dict, or the callable has a magic
|
safe_constructors dict, or the callable has a magic
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue