From: Benjamin Peterson Date: Mon, 20 Oct 2008 21:43:57 +0000 (+0000) Subject: Merged revisions 66984 via svnmerge from X-Git-Tag: v2.6.1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5294bb5d0557b8b87515ff850bab778496590523;p=thirdparty%2FPython%2Fcpython.git 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. ........ --- diff --git a/Lib/ast.py b/Lib/ast.py index ab6eed440f6b..6d92eddddc28 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'):