summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAntti Haapala <antti.haapala@interjektio.fi>2021-04-11 00:20:41 (GMT)
committerGitHub <noreply@github.com>2021-04-11 00:20:41 (GMT)
commitc3a478b7e56b92bcd980b7ded34005f8b339602e (patch)
treea0d95e003fa7419302cd333225ac5d075b3ee530 /Doc
parentac05f82ad4983e3d3653ae7494c1ff62c4a265fc (diff)
downloadcpython-c3a478b7e56b92bcd980b7ded34005f8b339602e.zip
cpython-c3a478b7e56b92bcd980b7ded34005f8b339602e.tar.gz
cpython-c3a478b7e56b92bcd980b7ded34005f8b339602e.tar.bz2
Fix typo about line number in the 3.10 What's New document (GH-25328)
This was a typo copied from PEP 626.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.10.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 18d83b6..09064ec 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -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.