Commit 06788c9f authored by Georg Brandl's avatar Georg Brandl

Fix a few remaining problems found by rstlint.

parent d509788f
......@@ -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)
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment