Package web2py :: Package gluon :: Module custom_import :: Class _BaseImporter
[hide private]
[frames] | no frames]

Class _BaseImporter

source code

object --+
         |
        _BaseImporter
Known Subclasses:
_DateTrackerImporter, _Web2pyImporter

The base importer. Dispatch the import the call to the standard Python importer.

Instance Methods [hide private]
 
begin(self)
Many imports can be made for a single import statement.
source code
 
__call__(self, name, globals={}, locals={}, fromlist=[], level=-1)
The import method itself.
source code
 
end(self)
Needed for clean up.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

begin(self)

source code 
Many imports can be made for a single import statement. This method help the management of this aspect.