summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-04-03 15:35:04 (GMT)
committerGitHub <noreply@github.com>2023-04-03 15:35:04 (GMT)
commit2a721258a199e9bcdcee2069719ad9c8f8c0d030 (patch)
tree537143ffa297a94a60eb49c083252932a77d5773 /Doc/reference
parente6f7d35be7fb65d8624e9411251554c9dee0c931 (diff)
downloadcpython-2a721258a199e9bcdcee2069719ad9c8f8c0d030.zip
cpython-2a721258a199e9bcdcee2069719ad9c8f8c0d030.tar.gz
cpython-2a721258a199e9bcdcee2069719ad9c8f8c0d030.tar.bz2
gh-101865: Deprecate `co_lnotab` from code objects as per PEP 626 (#101866)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 1865d09..a09d552 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -991,7 +991,8 @@ Internal types
the filename from which the code was compiled; :attr:`co_firstlineno` is
the first line number of the function; :attr:`co_lnotab` is a string
encoding the mapping from bytecode offsets to line numbers (for details
- see the source code of the interpreter); :attr:`co_stacksize` is the
+ see the source code of the interpreter, is deprecated since 3.12
+ and may be removed in 3.14); :attr:`co_stacksize` is the
required stack size; :attr:`co_flags` is an integer encoding a number
of flags for the interpreter.