10000 Fix else brace formatting · python/cpython@9e9d925 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e9d925

Browse files
committed
Fix else brace formatting
1 parent 4f43a87 commit 9e9d925

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Python/initconfig.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,9 +1656,11 @@ config_read_env_vars(PyConfig *config)
16561656
#ifdef Py_GIL_DISABLED
16571657
if (strcmp(gil, "0") == 0) {
16581658
config->enable_gil = _PyConfig_GIL_DISABLE;
1659-
} else if (strcmp(gil, "1") == 0) {
1659+
}
1660+
else if (strcmp(gil, "1") == 0) {
16601661
config->enable_gil = _PyConfig_GIL_ENABLE;
1661-
} else {
1662+
}
1663+
else {
16621664
return _PyStatus_ERR("PYTHON_GIL must be \"0\" or \"1\"");
16631665
}
16641666
#else

0 commit comments

Comments
 (0)
0