[issue43556] fix attr names for ast.expr and ast.stmt

Samwyse report at bugs.python.org
Fri Mar 19 08:01:11 EDT 2021


New submission from Samwyse <samwyse at gmail.com>:

In Doc/library/ast.rst, the lineno and end_col attributes are repeated; the second set should have 'end_' prefixed to them.  Also, there's a minor indentation error in the RST file.

# diff ast.rst ast.rst~ 
78c78
<                   col_offset
---
>                         col_offset
83c83
<       :attr:`lineno`, :attr:`col_offset`, :attr:`end_lineno`, and :attr:`end_col_offset`
---
>       :attr:`lineno`, :attr:`col_offset`, :attr:`lineno`, and :attr:`col_offset`

----------
assignee: docs at python
components: Documentation
messages: 389077
nosy: docs at python, samwyse
priority: normal
severity: normal
status: open
title: fix attr names for ast.expr and ast.stmt
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43556>
_______________________________________


More information about the Python-bugs-list mailing list