]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typos in crossinterp.c and qsbr.c (#142612)
authorwangjingcun <wangjingcun@aliyun.com>
Fri, 12 Dec 2025 06:18:20 +0000 (14:18 +0800)
committerGitHub <noreply@github.com>
Fri, 12 Dec 2025 06:18:20 +0000 (11:48 +0530)
Python/crossinterp.c
Python/qsbr.c

index 542253c14de9b86c1bd46a900e6d7229897b0a40..b43f33fdf97771ce59be7ec49f371c6fd177ee1d 100644 (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();
 }
 
index b2153bf9d67230cb8ede561a258736edbbee5acf..6bf5b75f3466900bb5a561d35b1ee6e1a13157b1 100644 (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)
 {