Skip to content
Prev Previous commit
Next Next commit
Fix else brace formatting
  • Loading branch information
swtaarrs committed Mar 6, 2024
commit 9e9d9250bd86190cfe7106ab3754b1386cc4dbf7
6 changes: 4 additions & 2 deletions Python/initconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -1656,9 +1656,11 @@ config_read_env_vars(PyConfig *config)
#ifdef Py_GIL_DISABLED
if (strcmp(gil, "0") == 0) {
config->enable_gil = _PyConfig_GIL_DISABLE;
} else if (strcmp(gil, "1") == 0) {
}
else if (strcmp(gil, "1") == 0) {
config->enable_gil = _PyConfig_GIL_ENABLE;
} else {
}
else {
return _PyStatus_ERR("PYTHON_GIL must be \"0\" or \"1\"");
}
#else
Expand Down