Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.

This commit is contained in:
Armin Ronacher 2008-10-20 21:29:08 +00:00
parent f3d0ce1502
commit 297ddcd823
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
:license: Python License.
"""
from _ast import *
from _ast import __version__
def parse(expr, filename='<unknown>', mode='exec'):