Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
urllib.error.URLError Class Reference
Inheritance diagram for urllib.error.URLError:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 args
 reason
 filename

Detailed Description

Definition at line 20 of file error.py.


Constructor & Destructor Documentation

def urllib.error.URLError.__init__ (   self,
  reason,
  filename = None 
)

Reimplemented in urllib.error.ContentTooShortError.

Definition at line 26 of file error.py.

00026 
00027     def __init__(self, reason, filename=None):
00028         self.args = reason,
00029         self.reason = reason
00030         if filename is not None:
00031             self.filename = filename

Here is the caller graph for this function:


Member Function Documentation

Reimplemented in urllib.error.HTTPError.

Definition at line 32 of file error.py.

00032 
00033     def __str__(self):
00034         return '<urlopen error %s>' % self.reason


Member Data Documentation

Definition at line 27 of file error.py.

Reimplemented in urllib.error.HTTPError.

Definition at line 30 of file error.py.

Definition at line 28 of file error.py.


The documentation for this class was generated from the following file: