]> granicus.if.org Git - python/commitdiff
Merged revisions 66984 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Mon, 20 Oct 2008 21:43:57 +0000 (21:43 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 20 Oct 2008 21:43:57 +0000 (21:43 +0000)
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.
........

Lib/ast.py

index ab6eed440f6b0bd3622703b79a6a91a358e04ed9..6d92eddddc288b0c6c72540c875feb3ec8ba7000 100644 (file)
@@ -26,6 +26,7 @@
     :license: Python License.
 """
 from _ast import *
+from _ast import __version__
 
 
 def parse(expr, filename='<unknown>', mode='exec'):