diff options
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 34642e3..9744051 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -853,6 +853,8 @@ Porting to Python 3.11 use ``PyObject_GetAttrString((PyObject*)frame, "f_locals")``. * ``f_lasti``: removed, use ``PyObject_GetAttrString((PyObject*)frame, "f_lasti")``. + Code using ``f_lasti`` with ``PyCode_Addr2Line()`` should use + :c:func:`PyFrame_GetLineNumber` instead. The following fields were removed entirely, as they were details of the old implementation: |