commit | 297ddcd823271f748177d094ba817019ba8850ee | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Mon Oct 20 21:29:08 2008 +0000 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Mon Oct 20 21:29:08 2008 +0000 |
tree | 701a3ecc90f8f8b8d0b9d3568f47f9776f7730c9 | |
parent | f3d0ce15029ad9991b8c32a2c9412d4b27f72105 [diff] [blame] |
Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.
diff --git a/Lib/ast.py b/Lib/ast.py index ab6eed4..6d92edd 100644 --- a/Lib/ast.py +++ b/Lib/ast.py
@@ -26,6 +26,7 @@ :license: Python License. """ from _ast import * +from _ast import __version__ def parse(expr, filename='<unknown>', mode='exec'):