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

Skip to content

Commit 09f2eec

Browse files
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 488cfb7) Co-authored-by: Krzysztof Wroblewski <krzysiek.wr@gmail.com>
1 parent 7529754 commit 09f2eec

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
@@ -1354,19 +1354,15 @@ def __init__(self, name, code, arg,
13541354
stack_before=[],
13551355
stack_after=[pybool],
13561356
proto=2,
1357-
doc="""True.
1358-
1359-
Push True onto the stack."""),
1357+
doc="Push True onto the stack."),
13601358

13611359
I(name='NEWFALSE',
13621360
code='\x89',
13631361
arg=None,
13641362
stack_before=[],
13651363
stack_after=[pybool],
13661364
proto=2,
1367-
doc="""True.
1368-
1369-
Push False onto the stack."""),
1365+
doc="Push False onto the stack."),
13701366

13711367
# Ways to spell Unicode strings.
13721368

0 commit comments

Comments
 (0)
0