File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ Node classes
9191 end_lineno
9292 end_col_offset
9393
94- Most instances of classes part of this module, e.g. instances of subclasses of
94+ Most classes part of the AST module have the :attr: `lineno `, :attr: `col_offset `,
95+ :attr: `end_lineno `, and :attr: `end_col_offset ` attributes, including subclasses of
9596 :class: `ast.expr `, :class: `ast.stmt ` and others (see
96- `Abstract Grammar <abstract-grammar _>`__), have :attr: `lineno `, :attr: `col_offset `,
97- :attr: `end_lineno `, and :attr: `end_col_offset ` attributes. The :attr: `lineno ` and
97+ `Abstract Grammar <abstract-grammar _>`__). The :attr: `lineno ` and
9898 :attr: `end_lineno ` are the first and last line numbers of source text span (1-indexed
9999 so the first line is line 1) and the :attr: `col_offset ` and :attr: `end_col_offset `
100100 are the corresponding UTF-8 byte offsets of the first and last tokens that
You can’t perform that action at this time.
0 commit comments