Skip to content

Commit 24e3a8a

Browse files
[3.13] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (#119869)
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 8e0777d commit 24e3a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ Methods on code objects
12401240

12411241
The iterator returns :class:`tuple`\s containing the ``(start_line, end_line,
12421242
start_column, end_column)``. The *i-th* tuple corresponds to the
1243-
position of the source code that compiled to the *i-th* instruction.
1243+
position of the source code that compiled to the *i-th* code unit.
12441244
Column information is 0-indexed utf-8 byte offsets on the given source
12451245
line.
12461246

0 commit comments

Comments
 (0)