mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior.
This commit is contained in:
parent
f3d0ce1502
commit
297ddcd823
1 changed files with 1 additions and 0 deletions
|
|
@ -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'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue