mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix a few remaining problems found by rstlint.
This commit is contained in:
parent
d509788f98
commit
06788c9fe4
11 changed files with 16 additions and 16 deletions
|
@ -608,7 +608,7 @@ Some examples of integer literals::
|
|||
|
||||
7 2147483647 0o177 0b100110111
|
||||
3 79228162514264337593543950336 0o377 0x100000000
|
||||
79228162514264337593543950336 0xdeadbeef
|
||||
79228162514264337593543950336 0xdeadbeef
|
||||
|
||||
|
||||
.. _floating:
|
||||
|
|
|
@ -871,8 +871,8 @@ The :keyword:`nonlocal` statement
|
|||
nonlocal_stmt: "nonlocal" `identifier` ("," `identifier`)*
|
||||
|
||||
.. XXX add when implemented
|
||||
: ["=" (`target_list` "=")+ `expression_list`]
|
||||
: | "nonlocal" `identifier` `augop` `expression_list`
|
||||
: ["=" (`target_list` "=")+ expression_list]
|
||||
: | "nonlocal" identifier augop expression_list
|
||||
|
||||
The :keyword:`nonlocal` statement causes the listed identifiers to refer to
|
||||
previously bound variables in the nearest enclosing scope. This is important
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue