diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 15:50:46 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 15:50:46 +0300 |
commit | 88e1e502c6427f30079d18813c6a5df92112a0ae (patch) | |
tree | be12a1a329f257e27e0b25199ee718351e6aedf5 /Lib/pickletools.py | |
parent | 3d6dddc4f2698706eccf484197cbde524a326a52 (diff) | |
download | cpython-88e1e502c6427f30079d18813c6a5df92112a0ae.tar.gz |
#18705: fix a number of typos. Patch by F?vry Thibault.
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r-- | Lib/pickletools.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |