https://github.com/python/cpython/commit/8775f900179aa21e6e9ec318dbb5c7cfd3561b66
commit: 8775f900179aa21e6e9ec318dbb5c7cfd3561b66
branch: main
author: Taegyun Kim <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2026-02-27T10:25:46-05:00
summary:

gh-144693: Clarify that `PyFrame_GetBack` does not raise exceptions (GH-144824)

Co-authored-by: Sergey Miryanov <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>

files:
M Doc/c-api/frame.rst

diff --git a/Doc/c-api/frame.rst b/Doc/c-api/frame.rst
index fb17cf7f1da6b2..967cfc727655ec 100644
--- a/Doc/c-api/frame.rst
+++ b/Doc/c-api/frame.rst
@@ -50,6 +50,7 @@ See also :ref:`Reflection <reflection>`.
 
    Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer
    frame.
+   This raises no exceptions.
 
    .. versionadded:: 3.9
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to