Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 content
 args
 reason
 filename

Detailed Description

Definition at line 56 of file error.py.


Constructor & Destructor Documentation

def urllib.error.ContentTooShortError.__init__ (   self,
  message,
  content 
)

Reimplemented from urllib.error.URLError.

Definition at line 57 of file error.py.

00057 
00058     def __init__(self, message, content):
00059         URLError.__init__(self, message)
00060         self.content = content

Here is the caller graph for this function:


Member Function Documentation

def urllib.error.URLError.__str__ (   self) [inherited]

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.

Definition at line 59 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: