![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | is_package |
def | get_source |
def | get_code |
A base class implementing common import hook functionality. This provides utilities for implementing both the finder and loader parts of the PEP 302 importer protocol and implements the optional extensions to the importer protocol.
def google.appengine.tools.devappserver2.python.sandbox.BaseImportHook.get_code | ( | self, | |
fullname | |||
) |
Returns the code object for the module specified by fullname. This implements part of the extensions to the PEP 302 importer protocol. Args: fullname: The fullname of the module. Returns: The code object associated the module.
def google.appengine.tools.devappserver2.python.sandbox.BaseImportHook.get_source | ( | self, | |
fullname | |||
) |
Returns the source for the module specified by fullname. This implements part of the extensions to the PEP 302 importer protocol. Args: fullname: The fullname of the module. Returns: The source for the module.
def google.appengine.tools.devappserver2.python.sandbox.BaseImportHook.is_package | ( | self, | |
fullname | |||
) |
Returns whether the module specified by fullname refers to a package. This implements part of the extensions to the PEP 302 importer protocol. Args: fullname: The fullname of the module. Returns: True if fullname refers to a package.