]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field...
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Fri, 31 May 2024 17:09:48 +0000 (18:09 +0100)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 17:09:48 +0000 (17:09 +0000)
Doc/reference/datamodel.rst

index 0fe9681f93f1358d1f627d800e184c7a2dc1b88f..134385ed2f18607f30e8f7d72bfc2dffd84ef2b1 100644 (file)
@@ -1243,7 +1243,7 @@ Methods on code objects
 
    The iterator returns :class:`tuple`\s containing the ``(start_line, end_line,
    start_column, end_column)``. The *i-th* tuple corresponds to the
-   position of the source code that compiled to the *i-th* instruction.
+   position of the source code that compiled to the *i-th* code unit.
    Column information is 0-indexed utf-8 byte offsets on the given source
    line.