PEP 3154: fix typo (#1338)

This commit is contained in:
Arun Persaud 2020-03-22 21:51:49 -07:00 committed by GitHub
parent 9c16d3539e
commit 7a2c2168b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ for newlines in the pickle stream. It also complicates the implementation
of binary framing.
Protocol 4 forbids use of the GLOBAL opcode and replaces it with
GLOBAL_STACK, a new opcode which takes its operand from the stack.
STACK_GLOBAL, a new opcode which takes its operand from the stack.
Serializing more "lookupable" objects
-------------------------------------
@ -109,7 +109,7 @@ is a common request. Actually, third-party support for some of them, such
as bound methods, is implemented in the multiprocessing module [5]_.
The ``__qualname__`` attribute from :pep:`3155` makes it possible to
lookup many more objects by name. Making the GLOBAL_STACK opcode accept
lookup many more objects by name. Making the STACK_GLOBAL opcode accept
dot-separated names would allow the standard pickle implementation to
support all those kinds of objects.