Doc: More duplicate word fixes (GH-136299)

This commit is contained in:
Weilin Du 2025-07-12 02:18:47 +08:00 committed by GitHub
parent 252e2f710e
commit 561212a033
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 12 additions and 12 deletions

View file

@ -700,7 +700,7 @@ preconfig_init_coerce_c_locale(PyPreConfig *config)
/* Test if coerce_c_locale equals to -1 or equals to 1:
PYTHONCOERCECLOCALE=1 doesn't imply that the C locale is always coerced.
It is only coerced if if the LC_CTYPE locale is "C". */
It is only coerced if the LC_CTYPE locale is "C". */
if (config->coerce_c_locale < 0 || config->coerce_c_locale == 1) {
/* The C locale enables the C locale coercion (PEP 538) */
if (_Py_LegacyLocaleDetected(0)) {