summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorAlyssa Coghlan <ncoghlan@gmail.com>2024-06-01 03:59:35 (GMT)
committerGitHub <noreply@github.com>2024-06-01 03:59:35 (GMT)
commit3859e09e3d92d004978dd838f0511364e7edfb94 (patch)
tree60a158731f3a25cabcdde23cc4a5f3fda7ecf390 /Python/executor_cases.c.h
parentcc5cd4d93e3e079e897da9ceb1732ef16d79d01b (diff)
downloadcpython-3859e09e3d92d004978dd838f0511364e7edfb94.zip
cpython-3859e09e3d92d004978dd838f0511364e7edfb94.tar.gz
cpython-3859e09e3d92d004978dd838f0511364e7edfb94.tar.bz2
gh-74929: PEP 667 C API documentation (gh-119379)
* Add docs for new APIs * Add soft-deprecation notices * Add What's New porting entries * Update comments referencing `PyFrame_LocalsToFast()` to mention the proxy instead * Other related cleanups found when looking for refs to the deprecated APIs
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 0dfe490..bab6296 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -1541,7 +1541,7 @@
case _MAKE_CELL: {
oparg = CURRENT_OPARG();
// "initial" is probably NULL but not if it's an arg (or set
- // via PyFrame_LocalsToFast() before MAKE_CELL has run).
+ // via the f_locals proxy before MAKE_CELL has run).
PyObject *initial = GETLOCAL(oparg);
PyObject *cell = PyCell_New(initial);
if (cell == NULL) {