mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Fix typo about line number in the 3.10 What's New document (GH-25328)
This was a typo copied from PEP 626.
This commit is contained in:
parent
ac05f82ad4
commit
c3a478b7e5
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ PEP 626: Precise line numbers for debugging and other tools
|
|||
PEP 626 brings more precise and reliable line numbers for debugging, profiling and coverage tools.
|
||||
Tracing events, with the correct line number, are generated for all lines of code executed and only for lines of code that are executed.
|
||||
|
||||
The ``f_lineo`` attribute of frame objects will always contain the expected line number.
|
||||
The ``f_lineno`` attribute of frame objects will always contain the expected line number.
|
||||
|
||||
The ``co_lnotab`` attribute of code objects is deprecated and will be removed in 3.12.
|
||||
Code that needs to convert from offset to line number should use the new ``co_lines()`` method instead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue