8000 gh-100117: Fix inaccuracy in documentation of the CodeObject's co_pos… · python/cpython@015b1fd · GitHub
[go: up one dir, main page]

Skip to content

Commit 015b1fd

Browse files
authored
gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (#119364)
1 parent 078b8c8 commit 015b1fd

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
@@ -1243,7 +1243,7 @@ Methods on code objects
12431243

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

0 commit comments

Comments
 (0)
0