class_docstr: Instances of this class have __call__ methods identical in
  signature to compile_command; the difference is that if the
  instance compiles program text containing a __future__ statement,
  the instance 'remembers' and compiles all subsequent program texts
  with the statement in force.
class_docstr_tok: ["Instances","of","this","class","have","__call__","methods","identical","in","signature","to","compile_command",";","the","difference","is","that","if","the","instance","compiles","program","text","containing","a","__future__","statement",",","the","instance","'remembers","'","and","compiles","all","subsequent","program","texts","with","the","statement","in","force","."]
docstr: Compile a command and determine whether it is incomplete.
  
  Arguments:
  
  source -- the source string; may contain \n characters
  filename -- optional filename from which source was read;
              default "<input>"
  symbol -- optional grammar start symbol; "single" (default) or
            "eval"
  
  Return value / exceptions raised:
  
  - Return a code object if the command is complete and valid
  - Return None if the command is incomplete
  - Raise SyntaxError, ValueError or OverflowError if the command is a
    syntax error (OverflowError and ValueError can be produced by
    malformed literals).
docstr_tok: ["Compile","a","command","and","determine","whether","it","is","incomplete",".","Arguments",":","source","--","the","source","string",";","may","contain","\\n","characters","filename","--","optional","filename","from","which","source","was","read",";","default","``","<","input",">","''","symbol","--","optional","grammar","start","symbol",";","``","single","''","(","default",")","or","``","eval","''","Return","value","\/","exceptions","raised",":","-","Return","a","code","object","if","the","command","is","complete","and","valid","-","Return","None","if","the","command","is","incomplete","-","Raise","SyntaxError",",","ValueError","or","OverflowError","if","the","command","is","a","syntax","error","(","OverflowError","and","ValueError","can","be","produced","by","malformed","literals",")","."]
code: def __call__(self, source, filename="<input>", symbol="single"):
      r"""Compile a command and determine whether it is incomplete.
  
      Arguments:
  
      source -- the source string; may contain \n characters
      filename -- optional filename from which source was read;
                  default "<input>"
      symbol -- optional grammar start symbol; "single" (default) or
                "eval"
  
      Return value / exceptions raised:
  
      - Return a code object if the command is complete and valid
      - Return None if the command is incomplete
      - Raise SyntaxError, ValueError or OverflowError if the command is a
        syntax error (OverflowError and ValueError can be produced by
        malformed literals).
      """
      return _maybe_compile(self.compiler, source, filename, symbol)
  
file_path: catboost/contrib/tools/python3/src/Lib/codeop.py
imports: import __future__
  import warnings
label_desc: Use image node_id 2 for calling the CommandCompiler obj's underlying member method code with example usage: obj.__call__(source, filename, symbol) and returns: _maybe_compile