PyDocs

Nav

Python Language Services

AST.end_col_offset

ast

attribute of AST
Instances of ast.expr and ast.stmt subclasses have lineno, col_offset, end_lineno, and end_col_offset attributes. The lineno and end_lineno are the first and last line numbers of source text span (1-indexed so the first line is line 1) and the col_offset and end_col_offset are the corresponding UTF-8 byte offsets of the first and last tokens that generated the node. The UTF-8 offset is recorded because the parser uses UTF-8 internally.
0 Examples
No examples for ast/AST.end_col_offset.
See Also
No see-alsos for ast/AST.end_col_offset
0 Notes
No notes for AST.end_col_offset