diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-13 14:37:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 14:37:03 (GMT) |
commit | 6788303f5c57273c054d2b9e94e478051d7c8f8d (patch) | |
tree | 0624f6db35a135df5d773563a32c08214a4fbca9 /Doc/c-api/frame.rst | |
parent | 57be5459593bbd09583317ebdafc4d58ae51dbf4 (diff) | |
download | cpython-6788303f5c57273c054d2b9e94e478051d7c8f8d.zip cpython-6788303f5c57273c054d2b9e94e478051d7c8f8d.tar.gz cpython-6788303f5c57273c054d2b9e94e478051d7c8f8d.tar.bz2 |
gh-91248: Optimize PyFrame_GetVar() (#99252)
PyFrame_GetVar() no longer creates a temporary dictionary to get a
variable.
Diffstat (limited to 'Doc/c-api/frame.rst')
-rw-r--r-- | Doc/c-api/frame.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/frame.rst b/Doc/c-api/frame.rst index 4a062dd..b81faab 100644 --- a/Doc/c-api/frame.rst +++ b/Doc/c-api/frame.rst @@ -87,6 +87,8 @@ See also :ref:`Reflection <reflection>`. * Raise :exc:`NameError` and return ``NULL`` if the variable does not exist. * Raise an exception and return ``NULL`` on error. + *name* type must be a :class:`str`. + .. versionadded:: 3.12 |