diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-18 11:10:37 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-18 11:10:37 (GMT) |
commit | 3fd4a735d82e43e1c531ebcead3c95814d4b6384 (patch) | |
tree | f5640c599b2ec88167d3d6c39732357a085e0bd7 /Lib/urllib/request.py | |
parent | be22a911ff15f890702d134c0360419c3167da09 (diff) | |
parent | 225821c6537ec4c3b5269edabbf914527d6a7031 (diff) | |
download | cpython-3fd4a735d82e43e1c531ebcead3c95814d4b6384.zip cpython-3fd4a735d82e43e1c531ebcead3c95814d4b6384.tar.gz cpython-3fd4a735d82e43e1c531ebcead3c95814d4b6384.tar.bz2 |
Issue #25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS.
Original patch by Chris Angelico.
Diffstat (limited to 'Lib/urllib/request.py')
-rw-r--r-- | Lib/urllib/request.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 57d0dea..88326f8 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -179,14 +179,14 @@ def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, urllib.response.addinfourl object which can work as context manager and has methods such as: - * geturl() — return the URL of the resource retrieved, commonly used to + * geturl() - return the URL of the resource retrieved, commonly used to determine if a redirect was followed - * info() — return the meta-information of the page, such as headers, in the + * info() - return the meta-information of the page, such as headers, in the form of an email.message_from_string() instance (see Quick Reference to HTTP Headers) - * getcode() – return the HTTP status code of the response. Raises URLError + * getcode() - return the HTTP status code of the response. Raises URLError on errors. Note that *None& may be returned if no handler handles the request (though |