diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2024-05-31 17:09:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 17:09:48 (GMT) |
commit | 015b1fdd0ae03f94a5dfda051b020810d1c952dd (patch) | |
tree | 2d8bb575a284875ceced7db12417698c159771ec /Doc | |
parent | 078b8c8cf2bf68f7484cc4d2e3dd74b6fab55664 (diff) | |
download | cpython-015b1fdd0ae03f94a5dfda051b020810d1c952dd.zip cpython-015b1fdd0ae03f94a5dfda051b020810d1c952dd.tar.gz cpython-015b1fdd0ae03f94a5dfda051b020810d1c952dd.tar.bz2 |
gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (#119364)
Diffstat (limited to 'Doc')
-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 0fe9681..134385e 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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. |