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 488cfb78c8
)
Co-authored-by: Krzysztof Wroblewski <krzysiek.wr@gmail.com>
This commit is contained in:
parent
12e3e80241
commit
69d63bbbd6
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue