Skip to content

Commit 2990340

Browse files
authored
Merge branch 'main' into resolve-differences-between-asynccontextmanager-and-contextmanager
2 parents 25d3ee0 + 23a757f commit 2990340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/ceval.c

Lines changed: 2 additions & 2 deletions
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)