]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.
authorArmin Ronacher <armin.ronacher@active-4.com>
Mon, 20 Oct 2008 21:29:08 +0000 (21:29 +0000)
committerArmin Ronacher <armin.ronacher@active-4.com>
Mon, 20 Oct 2008 21:29:08 +0000 (21:29 +0000)
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'):