8000 Fix pickletools doc for NEWFALSE. (GH-9432) · python/cpython@69d63bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 69d63bb

Browse files
Fix pickletools doc for NEWFALSE. (GH-9432)
Also make docs for NEWFALSE and NEWTRUE more consistent with docs for other opcodes. 8000 (cherry picked from commit 488cfb7) Co-authored-by: Krzysztof Wroblewski <krzysiek.wr@gmail.com>
1 parent 12e3e80 commit 69d63bb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Lib/pickletools.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,19 +1325,15 @@ def __init__(self, name, code, arg,
13251325
stack_before=[],
13261326
stack_after=[pybool],
13271327
proto=2,
1328-
doc="""True.
1329-
1330-
Push True onto the stack."""),
1328+
doc="Push True onto the stack."),
13311329

13321330
I(name='NEWFALSE',
13331331
code='\x89',
13341332
arg=None,
13351333
stack_before=[],
13361334
stack_after=[pybool],
13371335
proto=2,
1338-
doc="""True.
1339-
1340-
Push False onto the stack."""),
1336+
doc="Push False onto the stack."),
13411337

13421338
# Ways to spell Unicode strings.
13431339

0 commit comments

Comments
 (0)
0