Message266311
From `compile`'s doc:
"Compile the source into a code or AST object."
The docs don't say how to compile into an AST object with `compile`, though. As it says later:
"If you want to parse Python code into its AST representation, see ast.parse()."
I checked 3.4-3.2, 3.0, 2.7, and 2.6. Versions before 3.4, and version 2.6, are missing the `ast.parse` line, but still have the first line. |
|
Date |
User |
Action |
Args |
2016-05-25 06:42:48 | leewz | set | recipients:
+ leewz, docs@python |
2016-05-25 06:42:47 | leewz | set | messageid: <1464158567.97.0.0204496298527.issue27119@psf.upfronthosting.co.za> |
2016-05-25 06:42:47 | leewz | link | issue27119 messages |
2016-05-25 06:42:47 | leewz | create | |
|