(self, fullname)
Method to return the code object for fullname.

        Should return None if not applicable (e.g. built-in module).
        Raise ImportError if the module cannot be found.
Method to return the code object for fullname.
Method to return the code object for fullname .
def get_code(self, fullname):
        """Method to return the code object for fullname.

        Should return None if not applicable (e.g. built-in module).
        Raise ImportError if the module cannot be found.
        """
        source = self.get_source(fullname)
        if source is None:
            return None
        try:
            path = self.get_filename(fullname)
        except ImportError:
            return self.source_to_code(source)
        else:
            return self.source_to_code(source, path)
def get_code ( self , fullname ) : source = self . get_source ( fullname ) if source is None : return None try : path = self . get_filename ( fullname ) except ImportError : return self . source_to_code ( source ) else : return self . source_to_code ( source , path )