This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fix attr names for ast.expr and ast.stmt
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ZackerySpytz, docs@python, iritkatriel, samwyse
Priority: normal Keywords: patch

Created on 2021-03-19 12:01 by samwyse, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24940 merged ZackerySpytz, 2021-03-20 08:59
Messages (2)
msg389077 - (view) Author: Samwyse (samwyse) * Date: 2021-03-19 12:01
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`
msg394151 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-05-21 20:29
New changeset 96c9961bfe1ab471a6bcd4b6e9255af25865dde2 by Zackery Spytz in branch '3.9':
bpo-43556: Fix the attr names for ast.expr and ast.stmt in the docs (GH-24940)
https://github.com/python/cpython/commit/96c9961bfe1ab471a6bcd4b6e9255af25865dde2
History
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87722
2021-05-21 20:29:35iritkatrielsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-05-21 20:29:20iritkatrielsetnosy: + iritkatriel
messages: + msg394151
2021-03-20 08:59:12ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request23701
stage: patch review
2021-03-19 12:01:11samwysecreate