Skip to content

Commit 045be77

Browse files
[3.12] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (#119870)
gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (cherry picked from commit 015b1fd) Co-authored-by: Irit Katriel <[email protected]>
1 parent 738cf21 commit 045be77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ Methods on code objects
12311231

12321232
The iterator returns :class:`tuple`\s containing the ``(start_line, end_line,
12331233
start_column, end_column)``. The *i-th* tuple corresponds to the
1234-
position of the source code that compiled to the *i-th* instruction.
1234+
position of the source code that compiled to the *i-th* code unit.
12351235
Column information is 0-indexed utf-8 byte offsets on the given source
12361236
line.
12371237

0 commit comments

Comments
 (0)