(self, fullname)
return self.source_to_code(source)
Method which returns the code object for the module.

        The fullname is a str.  Returns a types.CodeType if possible, else
        returns None if a code object does not make sense
        (e.g. built-in module). Raises ImportError if the module cannot be
        found.
Method which returns the code object for the module.
Method which returns the code object for the module .
def get_code(self, fullname):
        """Method which returns the code object for the module.

        The fullname is a str.  Returns a types.CodeType if possible, else
        returns None if a code object does not make sense
        (e.g. built-in module). Raises ImportError if the module cannot be
        found.
        """
        source = self.get_source(fullname)
        if source is None:
            return None
        return self.source_to_code(source)
def get_code ( self , fullname ) : source = self . get_source ( fullname ) if source is None : return None return self . source_to_code ( source )