Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 filename
 tb

Detailed Description

Errors that occurred while trying to import something to document it.

Definition at line 246 of file pydoc.py.


Constructor & Destructor Documentation

def pydoc.ErrorDuringImport.__init__ (   self,
  filename,
  exc_info 
)

Definition at line 248 of file pydoc.py.

00248 
00249     def __init__(self, filename, exc_info):
00250         self.filename = filename
00251         self.exc, self.value, self.tb = exc_info

Here is the caller graph for this function:


Member Function Documentation

Definition at line 252 of file pydoc.py.

00252 
00253     def __str__(self):
00254         exc = self.exc.__name__
00255         return 'problem in %s - %s: %s' % (self.filename, exc, self.value)


Member Data Documentation

Definition at line 249 of file pydoc.py.

Definition at line 250 of file pydoc.py.


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