summaryrefslogtreecommitdiffstats
path: root/Lib/ast.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2008-10-20 21:29:08 (GMT)
committerArmin Ronacher <armin.ronacher@active-4.com>2008-10-20 21:29:08 (GMT)
commit297ddcd823271f748177d094ba817019ba8850ee (patch)
tree701a3ecc90f8f8b8d0b9d3568f47f9776f7730c9 /Lib/ast.py
parentf3d0ce15029ad9991b8c32a2c9412d4b27f72105 (diff)
downloadcpython-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.py1
1 files changed, 1 insertions, 0 deletions
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'):