diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-09-17 22:13:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 22:13:17 (GMT) |
commit | 188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27 (patch) | |
tree | c13681a2bbd98f90055dd18e26cf9ceea2a8b40d /Python/pylifecycle.c | |
parent | c62ab2862db2382808bb2228760eebdda3f608bd (diff) | |
download | cpython-188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.zip cpython-188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.tar.gz cpython-188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.tar.bz2 |
bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371)
_PyCoreConfig:
* Rename coerce_c_locale to _coerce_c_locale
* Rename coerce_c_locale_warn to _coerce_c_locale_warn
These fields are now private (name prefixed by "_").
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 379e860..b735228 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -301,7 +301,7 @@ static const char *_C_LOCALE_WARNING = static void _emit_stderr_warning_for_legacy_locale(const _PyCoreConfig *core_config) { - if (core_config->coerce_c_locale_warn && _Py_LegacyLocaleDetected()) { + if (core_config->_coerce_c_locale_warn && _Py_LegacyLocaleDetected()) { PySys_FormatStderr("%s", _C_LOCALE_WARNING); } } |