Skip to content

Commit 23a757f

Browse files
authored
Update _PyEval_AddPendingCall comment (#95817)
1 parent 8b34e91 commit 23a757f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/ceval.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ _PyEval_AddPendingCall(PyInterpreterState *interp,
630630
{
631631
struct _pending_calls *pending = &interp->ceval.pending;
632632

633-
/* Ensure that _PyEval_InitPendingCalls() was called
634-
and that _PyEval_FiniPendingCalls() is not called yet. */
633+
/* Ensure that _PyEval_InitState() was called
634+
and that _PyEval_FiniState() is not called yet. */
635635
assert(pending->lock != NULL);
636636

637637
PyThread_acquire_lock(pending->lock, WAIT_LOCK);

0 commit comments

Comments
 (0)