closes bpo-39886: Remove unused arg from config_get_stdio_errors. (GH-18823)

This commit is contained in:
Andy Lester 2020-03-07 11:36:04 -06:00 committed by GitHub
parent ad0c775ea2
commit aa450a0364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1434,7 +1434,7 @@ config_read_complex_options(PyConfig *config)
static const wchar_t *
config_get_stdio_errors(const PyConfig *config)
config_get_stdio_errors(void)
{
#ifndef MS_WINDOWS
const char *loc = setlocale(LC_CTYPE, NULL);
@ -1590,7 +1590,7 @@ config_init_stdio_encoding(PyConfig *config,
}
}
if (config->stdio_errors == NULL) {
const wchar_t *errors = config_get_stdio_errors(config);
const wchar_t *errors = config_get_stdio_errors();
assert(errors != NULL);
status = PyConfig_SetString(config, &config->stdio_errors, errors);