]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 31 May 2024 17:27:55 +0000 (19:27 +0200)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 17:27:55 +0000 (17:27 +0000)
gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364)
(cherry picked from commit 015b1fdd0ae03f94a5dfda051b020810d1c952dd)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Doc/reference/datamodel.rst

index 6d2da88d13c25c3a347c248d09f6b8e8587d4446..6ad62a6e62ea374e6e907b50525795a72da427c1 100644 (file)
@@ -1240,7 +1240,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.