diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-01-04 13:37:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 13:37:06 (GMT) |
commit | c31e356a10aa60b5967b9aaf80b9984059e46461 (patch) | |
tree | 774e48afaea4e83f9b14c46e8d20cc14e018d92d /Misc | |
parent | 5fb1c08e15b864d8ea9353a0e013166e2e0e2160 (diff) | |
download | cpython-c31e356a10aa60b5967b9aaf80b9984059e46461.zip cpython-c31e356a10aa60b5967b9aaf80b9984059e46461.tar.gz cpython-c31e356a10aa60b5967b9aaf80b9984059e46461.tar.bz2 |
gh-100720: refactor calculation of number of frame slots for a code object into the new function _PyFrame_NumSlotsForCodeObject (#100722)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-01-03-16-50-42.gh-issue-100720.UhE7P-.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-01-03-16-50-42.gh-issue-100720.UhE7P-.rst b/Misc/NEWS.d/next/Core and Builtins/2023-01-03-16-50-42.gh-issue-100720.UhE7P-.rst new file mode 100644 index 0000000..4c194ec --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-01-03-16-50-42.gh-issue-100720.UhE7P-.rst @@ -0,0 +1 @@ +Added ``_PyFrame_NumSlotsForCodeObject``, which returns the number of slots needed in a frame for a given code object. |