summaryrefslogtreecommitdiffstats
path: root/Lib/ast.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-10-20 21:43:57 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-10-20 21:43:57 (GMT)
commit5294bb5d0557b8b87515ff850bab778496590523 (patch)
treefb3858ff7d67c2d9f4c61f64b79f9e1551eaf82b /Lib/ast.py
parent3f3ccbe33e1dfb0b38ed17aa9dca1cfacdc1eea0 (diff)
downloadcpython-5294bb5d0557b8b87515ff850bab778496590523.zip
cpython-5294bb5d0557b8b87515ff850bab778496590523.tar.gz
cpython-5294bb5d0557b8b87515ff850bab778496590523.tar.bz2
Merged revisions 66984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66984 | armin.ronacher | 2008-10-20 16:29:08 -0500 (Mon, 20 Oct 2008) | 3 lines 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'):