parser.expr(source)
The expr()
function parses the parameter source as if it were an input to compile(source, 'file.py', 'eval')
. If the parse succeeds, an ST object is created to hold the internal parse tree representation, otherwise an appropriate exception is raised.
Please login to continue.