mirror of https://github.com/python/cpython
Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.
This commit is contained in:
parent
f3d0ce1502
commit
297ddcd823
|
@ -26,6 +26,7 @@
|
|||
:license: Python License.
|
||||
"""
|
||||
from _ast import *
|
||||
from _ast import __version__
|
||||
|
||||
|
||||
def parse(expr, filename='<unknown>', mode='exec'):
|
||||
|
|
Loading…
Reference in New Issue