From 5294bb5d0557b8b87515ff850bab778496590523 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 20 Oct 2008 21:43:57 +0000 Subject: 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. ........ --- Lib/ast.py | 1 + 1 file changed, 1 insertion(+) 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='', mode='exec'): -- cgit v0.12