Aivar Annamaa <aivar.anna...@gmail.com> added the comment:

> in my opinion the col_offsets of the two nodes should be 1 and 3, 
> respectively (the positions of the operators)

This would not match the documentation:

> one can get the source segment of a one-line expression node using 
> source_line[node.col_offset : node.end_col_offset]

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue18374>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to