We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 281ea9c commit 8a716bcCopy full SHA for 8a716bc
Doc/whatsnew/3.11.rst
@@ -853,6 +853,8 @@ Porting to Python 3.11
853
use ``PyObject_GetAttrString((PyObject*)frame, "f_locals")``.
854
* ``f_lasti``: removed,
855
use ``PyObject_GetAttrString((PyObject*)frame, "f_lasti")``.
856
+ Code using ``f_lasti`` with ``PyCode_Addr2Line()`` should use
857
+ :c:func:`PyFrame_GetLineNumber` instead.
858
859
The following fields were removed entirely, as they were details
860
of the old implementation:
0 commit comments