Pablo Galindo Salgado <[email protected]> added the comment:
> For which of them a line number is meaningful and useful?
Apologies, I was thinking of 'identifier', which is basically a PyObject
representing a string. For instance, when parsing function calls like
x = ast.parse("f(x=435)")
the 'arg' attribute of the keyword is just the string 'x', without any metadata
about it (like column offset and such).
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40528>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com