From: Armin Ronacher Date: Mon, 20 Oct 2008 21:29:08 +0000 (+0000) Subject: Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior. X-Git-Tag: v2.7a1~2717 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=297ddcd823271f748177d094ba817019ba8850ee;p=thirdparty%2FPython%2Fcpython.git 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'):