diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2008-10-20 21:29:08 (GMT) |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2008-10-20 21:29:08 (GMT) |
commit | 297ddcd823271f748177d094ba817019ba8850ee (patch) | |
tree | 701a3ecc90f8f8b8d0b9d3568f47f9776f7730c9 /Lib/ast.py | |
parent | f3d0ce15029ad9991b8c32a2c9412d4b27f72105 (diff) | |
download | cpython-297ddcd823271f748177d094ba817019ba8850ee.zip cpython-297ddcd823271f748177d094ba817019ba8850ee.tar.gz cpython-297ddcd823271f748177d094ba817019ba8850ee.tar.bz2 |
Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.
Diffstat (limited to 'Lib/ast.py')
-rw-r--r-- | Lib/ast.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ :license: Python License. """ from _ast import * +from _ast import __version__ def parse(expr, filename='<unknown>', mode='exec'): |