Skip to content

Commit

Permalink
Use US spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Mar 15, 2017
1 parent 4e6d502 commit ccfc83f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/test/test_c_locale_coercion.py
Expand Up @@ -36,7 +36,7 @@ def _set_locale_in_subprocess(locale_name, category):
# Details of the CLI warning emitted at runtime
CLI_COERCION_WARNING_FMT = (
"Python detected LC_CTYPE=C: {} coerced to {} (set another locale "
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour)."
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior)."
)

_EncodingDetails = namedtuple("EncodingDetails",
Expand Down
2 changes: 1 addition & 1 deletion Programs/python.c
Expand Up @@ -31,7 +31,7 @@ wmain(int argc, wchar_t **argv)
#ifdef PY_COERCE_C_LOCALE
static const char *_C_LOCALE_COERCION_WARNING =
"Python detected LC_CTYPE=C: %.20s coerced to %.20s (set another locale "
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour).\n";
"or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior).\n";

typedef struct _CandidateLocale {
const char *locale_name;
Expand Down

0 comments on commit ccfc83f

Please sign in to comment.