| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good, thanks @mlnrt for working on this during the EuroPython sprints! I'll wait for an AST expert to review before merging. cc: @JelleZijlstra @Eclips4
A
Sorry, something went wrong.
| :attr:`end_col_offset` attributes. The :attr:`lineno` and :attr:`end_lineno` | ||
| are the first and last line numbers of source text span (1-indexed so the | ||
| first line is line 1) and the :attr:`col_offset` and :attr:`end_col_offset` | ||
| Most classes part of the AST module have the :attr:`lineno`, :attr:`col_offset`, |
There was a problem hiding this comment.
| Most classes part of the AST module have the :attr:`lineno`, :attr:`col_offset`, | |
| Most classes in the :mod:`!ast` module have the :attr:`lineno`, :attr:`col_offset`, |
Sorry, something went wrong.
| are the first and last line numbers of source text span (1-indexed so the | ||
| first line is line 1) and the :attr:`col_offset` and :attr:`end_col_offset` | ||
| Most classes part of the AST module have the :attr:`lineno`, :attr:`col_offset`, | ||
| :attr:`end_lineno`, and :attr:`end_col_offset` attributes, including subclasses of |
There was a problem hiding this comment.
| :attr:`end_lineno`, and :attr:`end_col_offset` attributes, including subclasses of | |
| :attr:`end_lineno`, and :attr:`end_col_offset` attributes, including all subclasses of |
Sorry, something went wrong.
|
@AA-Turner no. I just deleted my fork of cpython. I did not realized it would close this |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR clarifies the documentation describing the attributes of classes part of the AST module
📚 Documentation preview 📚: https://cpython-previews--136868.org.readthedocs.build/