Commit 297ddcd8 authored by Armin Ronacher's avatar Armin Ronacher

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

parent f3d0ce15
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
:license: Python License. :license: Python License.
""" """
from _ast import * from _ast import *
from _ast import __version__
def parse(expr, filename='<unknown>', mode='exec'): def parse(expr, filename='<unknown>', mode='exec'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment