From 7a2c2168b6cc24f3cff3fc57da7c4765b22c1583 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 22 Mar 2020 21:51:49 -0700 Subject: [PATCH] PEP 3154: fix typo (#1338) --- pep-3154.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-3154.txt b/pep-3154.txt index 2054cbb44..5e384f356 100644 --- a/pep-3154.txt +++ b/pep-3154.txt @@ -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.