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:
Miss Islington (bot) 2018-09-25 22:19:08 -07:00 committed by GitHub
parent 12e3e80241
commit 69d63bbbd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -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.