diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-10 16:16:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 16:16:51 (GMT) |
commit | b045174a6dbf1060f092265853f0c78f0704a21a (patch) | |
tree | 9d313288a0a222bdeee258154cbd366a10fe4c35 /Doc/whatsnew | |
parent | 60ddf499e14cc7daba3804e5a3460e4224dacc5c (diff) | |
download | cpython-b045174a6dbf1060f092265853f0c78f0704a21a.zip cpython-b045174a6dbf1060f092265853f0c78f0704a21a.tar.gz cpython-b045174a6dbf1060f092265853f0c78f0704a21a.tar.bz2 |
bpo-44964: Correct the note about the f_lasti field (GH-28208) (GH-28276)
(cherry picked from commit ab327f2929589407595a3de95727c8ab34ddd4af)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 5a5f4a3..2f08b9f 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -1948,7 +1948,8 @@ Changes in the C API offset instead of a simple offset into the bytecode string. This means that this number needs to be multiplied by 2 to be used with APIs that expect a byte offset instead (like :c:func:`PyCode_Addr2Line` for example). Notice as well that the - ``f_lasti`` member of ``FrameObject`` objects is not considered stable. + ``f_lasti`` member of ``FrameObject`` objects is not considered stable: please + use :c:func:`PyFrame_GetLineNumber` instead. CPython bytecode changes ======================== |