diff options
-rw-r--r-- | Doc/whatsnew/3.11.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 7b5e7da..c3c2c67 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -816,13 +816,13 @@ Porting to Python 3.11 :c:func:`Py_DECREF`. * ``f_back``: changed (see below), use :c:func:`PyFrame_GetBack`. * ``f_builtins``: removed, - use ``PyObject_GetAttrString(frame, "f_builtins")``. + use ``PyObject_GetAttrString((PyObject*)frame, "f_builtins")``. * ``f_globals``: removed, - use ``PyObject_GetAttrString(frame, "f_globals")``. + use ``PyObject_GetAttrString((PyObject*)frame, "f_globals")``. * ``f_locals``: removed, - use ``PyObject_GetAttrString(frame, "f_locals")``. + use ``PyObject_GetAttrString((PyObject*)frame, "f_locals")``. * ``f_lasti``: removed, - use ``PyObject_GetAttrString(frame, "f_lasti")``. + use ``PyObject_GetAttrString((PyObject*)frame, "f_lasti")``. The following fields were removed entirely, as they were details of the old implementation: |