Skip to content

Commit 2a820e2

Browse files
authored
fix typos in crossinterp.c and qsbr.c (#142612)
1 parent 519bee4 commit 2a820e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/crossinterp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3185,7 +3185,7 @@ _PyXI_InitTypes(PyInterpreterState *interp)
31853185
"failed to initialize the cross-interpreter exception types");
31863186
}
31873187
// We would initialize heap types here too but that leads to ref leaks.
3188-
// Instead, we intialize them in _PyXI_Init().
3188+
// Instead, we initialize them in _PyXI_Init().
31893189
return _PyStatus_OK();
31903190
}
31913191

Python/qsbr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ qsbr_allocate(struct _qsbr_shared *shared)
5757
return qsbr;
5858
}
5959

60-
// Initialize (or reintialize) the freelist of QSBR thread states
60+
// Initialize (or reinitialize) the freelist of QSBR thread states
6161
static void
6262
initialize_new_array(struct _qsbr_shared *shared)
6363
{

0 commit comments

Comments
 (0)