Message167704
Please update your patches:
1. use attribute::
2. point base class for exception if it is not Exception
3. enumerate all attributes (`cmd` for CalledProcessError)
Example:
.. exception:: HTTPError
Though being an exception (a subclass of :exc:`URLError`), an :exc:`HTTPError`
can also function as a non-exceptional file-like return value (the same thing
that :func:`urlopen` returns). This is useful when handling exotic HTTP
errors, such as requests for authentication.
.. attribute:: code
An HTTP status code as defined in `RFC 2616 <http://www.faqs.org/rfcs/rfc2616.html>`_.
This numeric value corresponds to a value found in the dictionary of
codes as found in :attr:`BaseHTTPServer.BaseHTTPRequestHandler.responses`.
Also please fill Contributor Agreement: http://www.python.org/psf/contrib/ |
|
Date |
User |
Action |
Args |
2012-08-08 18:34:51 | asvetlov | set | recipients:
+ asvetlov, docs@python, tshepang, anton.barkovsky |
2012-08-08 18:34:51 | asvetlov | set | messageid: <1344450891.45.0.889055653541.issue15501@psf.upfronthosting.co.za> |
2012-08-08 18:34:50 | asvetlov | link | issue15501 messages |
2012-08-08 18:34:49 | asvetlov | create | |
|