diff options
author | Georg Brandl <georg@python.org> | 2009-01-03 21:31:47 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-03 21:31:47 (GMT) |
commit | 06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b (patch) | |
tree | 15223833b7a65c16ebd96233baa98d7997399dd9 /Doc/reference | |
parent | d509788f98e5ee6ecc638daf3be27493ae74640a (diff) | |
download | cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.zip cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.tar.gz cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.tar.bz2 |
Fix a few remaining problems found by rstlint.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/lexical_analysis.rst | 2 | ||||
-rw-r--r-- | Doc/reference/simple_stmts.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 826e692..5037da0 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -608,7 +608,7 @@ Some examples of integer literals:: 7 2147483647 0o177 0b100110111 3 79228162514264337593543950336 0o377 0x100000000 - 79228162514264337593543950336 0xdeadbeef + 79228162514264337593543950336 0xdeadbeef .. _floating: diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 611435a..5793c09 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -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 |