Skip to content

Commit d33c175

Browse files
better comments
1 parent 44c1536 commit d33c175

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Objects/frameobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ framelocalsproxy_getitem_lock_held(PyFrameObject *frame, PyObject *key)
262262
}
263263
}
264264

265-
// KeyError is raised by the caller, outside the synchronized region.
265+
// KeyError is raised by the caller, outside the stop the world pause.
266266
return NULL;
267267
}
268268

@@ -307,7 +307,7 @@ add_overwritten_fast_local(PyFrameObject *frame, PyObject *obj)
307307
}
308308

309309
// The replaced value is returned in `*old_value` (strong reference or
310-
// NULL) so that its destructor runs outside the synchronized region.
310+
// NULL) so that its destructor runs outside the stop the world pause.
311311
static int
312312
framelocalsproxy_setitem_lock_held(PyFrameObject *frame, PyObject *key,
313313
PyObject *value, PyObject **old_value)

0 commit comments

Comments
 (0)