]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo about line number in the 3.10 What's New document (GH-25328)
authorAntti Haapala <antti.haapala@interjektio.fi>
Sun, 11 Apr 2021 00:20:41 +0000 (03:20 +0300)
committerGitHub <noreply@github.com>
Sun, 11 Apr 2021 00:20:41 +0000 (01:20 +0100)
This was a typo copied from PEP 626.

Doc/whatsnew/3.10.rst

index 18d83b676295e3d2f155d93eb5e57db814d20d1e..09064ec38e944100eacffb9b13103e85bace1879 100644 (file)
@@ -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.