Open hydrargyrum opened 4 years ago
The following sample:
import asttokens sample = """from foo import bar""" astt = asttokens.ASTTokens(sample, parse=True) print(astt.tree.body[0].names[0].first_token)
displays from but it should really display bar
from
bar
Duplicate of #27
The following sample:
displays
from
but it should really displaybar