The code module defines operations pertaining to Python code objects.
The code module defines the following functions:
Arguments: source is the source string; filename is the optional filename from which source was read, defaulting to "<input>"; and symbol is the optional grammar start symbol, which should be either "single" (the default) or "eval".
Return a code object (the same as compile(source, filename, symbol)) if the command is complete and valid; return None if the command is incomplete; raise SyntaxError if the command is a syntax error.
%