From 69d63bbbd6ea8fab7792a7e4de21a4662665cb5f Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 25 Sep 2018 22:19:08 -0700 Subject: [PATCH] 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 8486cbf84368..ed8bee36e8c5 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -1325,9 +1325,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', @@ -1335,9 +1333,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. -- 2.47.3