Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 851821d

Browse filesBrowse files
[3.11] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (#119871)
(cherry picked from commit 015b1fd) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
1 parent 697beec commit 851821d
Copy full SHA for 851821d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Doc/reference/datamodel.rst

Copy file name to clipboardExpand all lines: Doc/reference/datamodel.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ Methods on code objects
12171217

12181218
The iterator returns :class:`tuple`\s containing the ``(start_line, end_line,
12191219
start_column, end_column)``. The *i-th* tuple corresponds to the
1220-
position of the source code that compiled to the *i-th* instruction.
1220+
position of the source code that compiled to the *i-th* code unit.
12211221
Column information is 0-indexed utf-8 byte offsets on the given source
12221222
line.
12231223

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.