fix typos in crossinterp.c and qsbr.c (#142612)

This commit is contained in:
wangjingcun 2025-12-12 14:18:20 +08:00 committed by GitHub
parent 519bee474b
commit 2a820e2b9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3185,7 +3185,7 @@ _PyXI_InitTypes(PyInterpreterState *interp)
"failed to initialize the cross-interpreter exception types");
}
// We would initialize heap types here too but that leads to ref leaks.
// Instead, we intialize them in _PyXI_Init().
// Instead, we initialize them in _PyXI_Init().
return _PyStatus_OK();
}

View file

@ -57,7 +57,7 @@ qsbr_allocate(struct _qsbr_shared *shared)
return qsbr;
}
// Initialize (or reintialize) the freelist of QSBR thread states
// Initialize (or reinitialize) the freelist of QSBR thread states
static void
initialize_new_array(struct _qsbr_shared *shared)
{