From 88e1e502c6427f30079d18813c6a5df92112a0ae Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 17 Aug 2013 15:50:46 +0300 Subject: #18705: fix a number of typos. Patch by F?vry Thibault. --- Lib/pickletools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/pickletools.py') diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 69cedf7731..7351c8d290 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -888,7 +888,7 @@ stackslice = StackObject( obtype=StackObject, doc="""An object representing a contiguous slice of the stack. - This is used in conjuction with markobject, to represent all + This is used in conjunction with markobject, to represent all of the stack following the topmost markobject. For example, the POP_MARK opcode changes the stack from @@ -2038,12 +2038,12 @@ def dis(pickle, out=None, memo=None, indentlevel=4, annotate=0): stack = [] # crude emulation of unpickler stack if memo is None: - memo = {} # crude emulation of unpicker memo + memo = {} # crude emulation of unpickler memo maxproto = -1 # max protocol number seen markstack = [] # bytecode positions of MARK opcodes indentchunk = ' ' * indentlevel errormsg = None - annocol = annotate # columnt hint for annotations + annocol = annotate # column hint for annotations for opcode, arg, pos in genops(pickle): if pos is not None: print("%5d:" % pos, end=' ', file=out) -- cgit v1.2.1