mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
fix a typo.
This commit is contained in:
parent
242690f870
commit
c08d9070db
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ The :mod:`urllib.request` module defines the following functions:
|
||||||
The optional *timeout* parameter specifies a timeout in seconds for
|
The optional *timeout* parameter specifies a timeout in seconds for
|
||||||
blocking operations like the connection attempt (if not specified,
|
blocking operations like the connection attempt (if not specified,
|
||||||
the global default timeout setting will be used). This actually
|
the global default timeout setting will be used). This actually
|
||||||
only works for HTTP, HTTPS, and FTP connections.
|
only works for HTTP, HTTPS and FTP connections.
|
||||||
|
|
||||||
This function returns a file-like object with two additional methods from
|
This function returns a file-like object with two additional methods from
|
||||||
the :mod:`urllib.response` module
|
the :mod:`urllib.response` module
|
||||||
|
|
@ -610,7 +610,7 @@ OpenerDirector Objects
|
||||||
optional *timeout* parameter specifies a timeout in seconds for blocking
|
optional *timeout* parameter specifies a timeout in seconds for blocking
|
||||||
operations like the connection attempt (if not specified, the global default
|
operations like the connection attempt (if not specified, the global default
|
||||||
timeout setting will be used). The timeout feature actually works only for
|
timeout setting will be used). The timeout feature actually works only for
|
||||||
HTTP, HTTPS, and FTP connections).
|
HTTP, HTTPS and FTP connections).
|
||||||
|
|
||||||
|
|
||||||
.. method:: OpenerDirector.error(proto, *args)
|
.. method:: OpenerDirector.error(proto, *args)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue