From 297ddcd823271f748177d094ba817019ba8850ee Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 20 Oct 2008 21:29:08 +0000 Subject: 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