Fix a few remaining problems found by rstlint.

This commit is contained in:
Georg Brandl 2009-01-03 21:31:47 +00:00
parent d509788f98
commit 06788c9fe4
11 changed files with 16 additions and 16 deletions

View file

@ -49,8 +49,8 @@ The :mod:`urllib.request` module defines the following functions:
The urlopen function from the previous version, Python 2.6 and earlier, of
the module urllib has been discontinued as urlopen can return the
file-object as the previous. The proxy handling, which in earlier was passed
as a dict parameter to urlopen can be availed by the use of `ProxyHandler`
objects.
as a dict parameter to urlopen can be availed by the use of
:class:`ProxyHandler` objects.
.. function:: install_opener(opener)

View file

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