Home | History | Annotate | Download | only in python2.7

Lines Matching defs:Compile

1 r"""Utilities to compile possibly incomplete Python source code.
4 function compile(), which take program text, a filename and a 'mode'
19 Compile three times: as is, with \n, and with \n\n appended. If it
21 we expect more. If it doesn't compile either way, we compare the
53 Compile():
55 Instances of this class act like the built-in function compile,
64 __all__ = ["compile_command", "Compile", "CommandCompiler"]
102 return compile(source, filename, symbol, PyCF_DONT_IMPLY_DEDENT)
105 r"""Compile a command and determine whether it is incomplete.
124 class Compile:
125 """Instances of this class behave much like the built-in compile
126 function, but if one is used to compile text containing a future
133 codeob = compile(source, filename, symbol, self.flags, 1)
147 self.compiler = Compile()
150 r"""Compile a command and determine whether it is incomplete.