summaryrefslogtreecommitdiffstats
path: root/Doc/reference/simple_stmts.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:31:47 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 21:31:47 (GMT)
commit06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b (patch)
tree15223833b7a65c16ebd96233baa98d7997399dd9 /Doc/reference/simple_stmts.rst
parentd509788f98e5ee6ecc638daf3be27493ae74640a (diff)
downloadcpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.zip
cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.tar.gz
cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.tar.bz2
Fix a few remaining problems found by rstlint.
Diffstat (limited to 'Doc/reference/simple_stmts.rst')
-rw-r--r--Doc/reference/simple_stmts.rst4
1 files changed, 2 insertions, 2 deletions
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