Commit fef3a92b authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

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 488cfb78)
Co-authored-by: default avatarKrzysztof Wroblewski <krzysiek.wr@gmail.com>
parent 10be1d3f
...@@ -1048,9 +1048,7 @@ opcodes = [ ...@@ -1048,9 +1048,7 @@ opcodes = [
stack_before=[], stack_before=[],
stack_after=[pybool], stack_after=[pybool],
proto=2, proto=2,
doc="""True. doc="Push True onto the stack."),
Push True onto the stack."""),
I(name='NEWFALSE', I(name='NEWFALSE',
code='\x89', code='\x89',
...@@ -1058,9 +1056,7 @@ opcodes = [ ...@@ -1058,9 +1056,7 @@ opcodes = [
stack_before=[], stack_before=[],
stack_after=[pybool], stack_after=[pybool],
proto=2, proto=2,
doc="""True. doc="Push False onto the stack."),
Push False onto the stack."""),
# Ways to spell Unicode strings. # Ways to spell Unicode strings.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment