Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b7743a + 2e72831 commit 50cdd55Copy full SHA for 50cdd55
1 file changed
Doc/library/urllib.error.rst
@@ -41,6 +41,10 @@ The following exceptions are raised by :mod:`urllib.error` as appropriate:
41
to a value found in the dictionary of codes as found in
42
:attr:`http.server.BaseHTTPRequestHandler.responses`.
43
44
+ .. attribute:: reason
45
+
46
+ This is usually a string explaining the reason for this error.
47
48
.. exception:: ContentTooShortError(msg, content)
49
50
This exception is raised when the :func:`urlretrieve` function detects that
0 commit comments