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

@ -6297,7 +6297,7 @@ _PyUnicode_GetNameCAPI(void)
ucnhash_capi = (_PyUnicode_Name_CAPI *)PyCapsule_Import(
PyUnicodeData_CAPSULE_NAME, 1);
// It's fine if we overwite the value here. It's always the same value.
// It's fine if we overwrite the value here. It's always the same value.
_Py_atomic_store_ptr(&interp->unicode.ucnhash_capi, ucnhash_capi);
}
return ucnhash_capi;