Fix typos in comments (#120821)

This commit is contained in:
Xie Yanbo 2024-06-25 01:47:00 +08:00 committed by GitHub
parent 8ac08f36fe
commit 0153fd0940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 10 additions and 10 deletions

View file

@ -236,7 +236,7 @@ intern_constants(PyObject *tuple, int *modified)
Py_DECREF(tmp);
}
// Intern non-string consants in the free-threaded build, but only if
// Intern non-string constants in the free-threaded build, but only if
// we are also immortalizing objects that use deferred reference
// counting.
PyThreadState *tstate = PyThreadState_GET();