Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_importhooks.ImpLoader Class Reference

List of all members.

Public Member Functions

def __init__
def load_module

Public Attributes

 file
 filename
 stuff

Detailed Description

Definition at line 124 of file test_importhooks.py.


Constructor & Destructor Documentation

def test.test_importhooks.ImpLoader.__init__ (   self,
  file,
  filename,
  stuff 
)

Definition at line 126 of file test_importhooks.py.

00126 
00127     def __init__(self, file, filename, stuff):
00128         self.file = file
00129         self.filename = filename
00130         self.stuff = stuff

Here is the caller graph for this function:


Member Function Documentation

def test.test_importhooks.ImpLoader.load_module (   self,
  fullname 
)

Definition at line 131 of file test_importhooks.py.

00131 
00132     def load_module(self, fullname):
00133         mod = imp.load_module(fullname, self.file, self.filename, self.stuff)
00134         if self.file:
00135             self.file.close()
00136         mod.__loader__ = self  # for introspection
00137         return mod
00138 


Member Data Documentation

Definition at line 127 of file test_importhooks.py.

Definition at line 128 of file test_importhooks.py.

Definition at line 129 of file test_importhooks.py.


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