We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0c775 commit aa450a0Copy full SHA for aa450a0
Python/initconfig.c
@@ -1434,7 +1434,7 @@ config_read_complex_options(PyConfig *config)
1434
1435
1436
static const wchar_t *
1437
-config_get_stdio_errors(const PyConfig *config)
+config_get_stdio_errors(void)
1438
{
1439
#ifndef MS_WINDOWS
1440
const char *loc = setlocale(LC_CTYPE, NULL);
@@ -1590,7 +1590,7 @@ config_init_stdio_encoding(PyConfig *config,
1590
}
1591
1592
if (config->stdio_errors == NULL) {
1593
- const wchar_t *errors = config_get_stdio_errors(config);
+ const wchar_t *errors = config_get_stdio_errors();
1594
assert(errors != NULL);
1595
1596
status = PyConfig_SetString(config, &config->stdio_errors, errors);
0 commit comments