mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
gh-101865: Deprecate co_lnotab from code objects as per PEP 626 (#101866)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
This commit is contained in:
parent
e6f7d35be7
commit
2a721258a1
5 changed files with 22 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue