OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, six_module_name) |
def | find_module (self, fullname, path=None) |
def | load_module (self, fullname) |
def | is_package (self, fullname) |
def | get_code (self, fullname) |
Data Fields | |
name | |
known_modules | |
Static Public Attributes | |
get_source | |
A meta path importer to import six.moves and its submodules. This class implements a PEP302 finder and loader. It should be compatible with Python 2.5 and all existing versions of Python3
def __init__ | ( | self, | |
six_module_name | |||
) |
def find_module | ( | self, | |
fullname, | |||
path = None |
|||
) |
def get_code | ( | self, | |
fullname | |||
) |
Return None Required, if is_package is implemented
def is_package | ( | self, | |
fullname | |||
) |
Return true, if the named module is a package. We need this method to get correct spec objects with Python 3.4 (see PEP451)
def load_module | ( | self, | |
fullname | |||
) |
|
static |
known_modules |
name |