Commit bfb0989e authored by Senthil Kumaran's avatar Senthil Kumaran

Document the reason attribute of urllib.HTTPError Patch by Berker Peksag

parent 7dddec4e
......@@ -121,7 +121,10 @@ The following exceptions are raised as appropriate:
This numeric value corresponds to a value found in the dictionary of
codes as found in :attr:`BaseHTTPServer.BaseHTTPRequestHandler.responses`.
.. attribute:: reason
The reason for this error. It can be a message string or another exception
instance.
The following classes are provided:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment