[docs] [issue13211] urllib2.HTTPError does not have 'reason' attribute.

Petri Lehtinen report at bugs.python.org
Tue Nov 8 19:54:39 CET 2011


Petri Lehtinen <petri at digip.org> added the comment:

My impression was that because HTTPError is a subclass of URLError, it
should have the same attributes, and maybe some extra. A user reading
the docs doesn't know whether it calls the base class __init__ or not.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13211>
_______________________________________


More information about the docs mailing list