Skip to content

Commit bdc3e76

Browse files
author
Matthieu Lienart
committed
update proposal based on feedback
1 parent db02ddc commit bdc3e76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ast.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)