From 09f2eec05420a9df76de8ab65d1dd89e9d0aa4b7 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 22 Sep 2018 08:27:47 -0700 Subject: Fix pickletools doc for NEWFALSE. (GH-9432) Also make docs for NEWFALSE and NEWTRUE more consistent with docs for other opcodes. (cherry picked from commit 488cfb78c8b81075942b5e4cc9630e7a6dd9dc28) Co-authored-by: Krzysztof Wroblewski --- Lib/pickletools.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 5e129b5..c0415ec 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -1354,9 +1354,7 @@ opcodes = [ stack_before=[], stack_after=[pybool], proto=2, - doc="""True. - - Push True onto the stack."""), + doc="Push True onto the stack."), I(name='NEWFALSE', code='\x89', @@ -1364,9 +1362,7 @@ opcodes = [ stack_before=[], stack_after=[pybool], proto=2, - doc="""True. - - Push False onto the stack."""), + doc="Push False onto the stack."), # Ways to spell Unicode strings. -- cgit v0.12