ivoire/transform.py
def source_to_code(self, source_bytes, source_path):
        """
        Transform the source code, then return the code object.

        """

        node = ast.parse(source_bytes)
        transformed = ExampleTransformer().transform(node)
        return compile(transformed, source_path, "exec", dont_inherit=True)
def source_to_code(self, source_bytes, source_path):
        """
        Transform the source code, then return the code object.

        """

        node = ast.parse(source_bytes)
        transformed = ExampleTransformer().transform(node)
        return compile(transformed, source_path, "exec", dont_inherit=True)
def source_to_code ( self , source_bytes , source_path ) : node = ast . parse ( source_bytes ) transformed = ExampleTransformer ( ) . transform ( node ) return compile ( transformed , source_path , "exec" , dont_inherit = True )
Transform the source code, then return the code object.
Transform the source code then return the code object .