diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-12-05 19:27:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 19:27:59 (GMT) |
commit | d109f637c048c2b5fc95dc7fdfd50f8ac41a7747 (patch) | |
tree | 2b8058dcc8b981de885b29f7e537fbd53a3702aa /Doc/whatsnew/3.11.rst | |
parent | c2e2df83560a3d4cb602f6d57cb70ac8aad7f9e6 (diff) | |
download | cpython-d109f637c048c2b5fc95dc7fdfd50f8ac41a7747.zip cpython-d109f637c048c2b5fc95dc7fdfd50f8ac41a7747.tar.gz cpython-d109f637c048c2b5fc95dc7fdfd50f8ac41a7747.tar.bz2 |
gh-101100: Properly document frame object attributes (#112735)
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 48a0e62..8db133b 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -2458,11 +2458,12 @@ Porting to Python 3.11 * ``f_valuestack``: removed. The Python frame object is now created lazily. A side effect is that the - ``f_back`` member must not be accessed directly, since its value is now also + :attr:`~frame.f_back` member must not be accessed directly, + since its value is now also computed lazily. The :c:func:`PyFrame_GetBack` function must be called instead. - Debuggers that accessed the ``f_locals`` directly *must* call + Debuggers that accessed the :attr:`~frame.f_locals` directly *must* call :c:func:`PyFrame_GetLocals` instead. They no longer need to call :c:func:`PyFrame_FastToLocalsWithError` or :c:func:`PyFrame_LocalsToFast`, in fact they should not call those functions. The necessary updating of the |