Exec Statement Question

Terry Reedy tjreedy at udel.edu
Mon Nov 30 00:28:12 EST 2009


Dave Angel wrote:

> exec is a statement, and statements don't have "return values."   It's 
> not a function, 

In 3.x, it is a function, though the use of print as a statement 
indicates that the OP was using 2.x.




More information about the Python-list mailing list