webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
six._SixMetaPathImporter Class Reference
Inheritance diagram for six._SixMetaPathImporter:

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)
 

Public Attributes

 name
 
 known_modules
 

Static Public Attributes

def get_source = get_code
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def six._SixMetaPathImporter.__init__ (   self,
  six_module_name 
)

Member Function Documentation

◆ find_module()

def six._SixMetaPathImporter.find_module (   self,
  fullname,
  path = None 
)

◆ get_code()

def six._SixMetaPathImporter.get_code (   self,
  fullname 
)
Return None

Required, if is_package is implemented

◆ is_package()

def six._SixMetaPathImporter.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)

◆ load_module()

def six._SixMetaPathImporter.load_module (   self,
  fullname 
)

Member Data Documentation

◆ get_source

def six._SixMetaPathImporter.get_source = get_code
static

◆ known_modules

six._SixMetaPathImporter.known_modules

◆ name

six._SixMetaPathImporter.name

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