Skip to content

Commit ccfc83f

Browse files
committed
Use US spelling
1 parent 4e6d502 commit ccfc83f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/test_c_locale_coercion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _set_locale_in_subprocess(locale_name, category):
3636
# Details of the CLI warning emitted at runtime
3737
CLI_COERCION_WARNING_FMT = (
3838
"Python detected LC_CTYPE=C: {} coerced to {} (set another locale "
39-
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour)."
39+
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior)."
4040
)
4141

4242
_EncodingDetails = namedtuple("EncodingDetails",

Programs/python.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ wmain(int argc, wchar_t **argv)
3131
#ifdef PY_COERCE_C_LOCALE
3232
static const char *_C_LOCALE_COERCION_WARNING =
3333
"Python detected LC_CTYPE=C: %.20s coerced to %.20s (set another locale "
34-
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour).\n";
34+
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior).\n";
3535

3636
typedef struct _CandidateLocale {
3737
const char *locale_name;

0 commit comments

Comments
 (0)