summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Wroblewski <krzysiek.wr@gmail.com>2018-09-22 15:13:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-09-22 15:13:53 (GMT)
commit488cfb78c8b81075942b5e4cc9630e7a6dd9dc28 (patch)
treed475241415bd6b984b355277a4e0d0d5711fb4af
parentc0da582b227f311126e278b5553a7fa89c79b054 (diff)
downloadcpython-488cfb78c8b81075942b5e4cc9630e7a6dd9dc28.zip
cpython-488cfb78c8b81075942b5e4cc9630e7a6dd9dc28.tar.gz
cpython-488cfb78c8b81075942b5e4cc9630e7a6dd9dc28.tar.bz2
Fix pickletools doc for NEWFALSE. (GH-9432)
Also make docs for NEWFALSE and NEWTRUE more consistent with docs for other opcodes.
-rw-r--r--Lib/pickletools.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index 8486cbf..ed8bee3 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.