diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-12 17:10:10 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-12 17:10:10 (GMT) |
commit | 4272d6a315ba0281ccfd5d4c842c53111e9f4ae3 (patch) | |
tree | 7e27db94e3d4da81566e19061ad4abb7bf23b243 /Doc/library/urllib.request.rst | |
parent | a787b650d4dc728674b7c490d5aa8a3d10903fdc (diff) | |
download | cpython-4272d6a315ba0281ccfd5d4c842c53111e9f4ae3.zip cpython-4272d6a315ba0281ccfd5d4c842c53111e9f4ae3.tar.gz cpython-4272d6a315ba0281ccfd5d4c842c53111e9f4ae3.tar.bz2 |
Fix some mentions of IOError
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 825398b..c08cbc6 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -1172,7 +1172,7 @@ some point in the future. *key_file* and *cert_file* are supported to provide an SSL key and certificate; both are needed to support client authentication. - :class:`URLopener` objects will raise an :exc:`IOError` exception if the server + :class:`URLopener` objects will raise an :exc:`OSError` exception if the server returns an error code. .. method:: open(fullurl, data=None) |