diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-31 17:27:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 17:27:55 (GMT) |
commit | 24e3a8a9a6b9d99ad4b861cdcad6152952145a61 (patch) | |
tree | 61a04ee6029669aeba1ac3548e7852cb87e65053 /Doc/reference | |
parent | 8e0777df1fd7145e2e74104534645aabb648eea3 (diff) | |
download | cpython-24e3a8a9a6b9d99ad4b861cdcad6152952145a61.zip cpython-24e3a8a9a6b9d99ad4b861cdcad6152952145a61.tar.gz cpython-24e3a8a9a6b9d99ad4b861cdcad6152952145a61.tar.bz2 |
[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 015b1fdd0ae03f94a5dfda051b020810d1c952dd)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 6d2da88..6ad62a6 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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. |