mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue