Skip to content

Commit fed0c31

Browse files
committed
fix
1 parent f0168d4 commit fed0c31

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Python/initconfig.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -508,15 +508,15 @@ _Py_COMP_DIAG_IGNORE_DEPR_DECLS
508508
}
509509

510510
#define SET_ITEM(KEY, EXPR) \
511-
do { \
512-
obj = (EXPR); \
513-
if (obj == NULL) \
514-
goto fail; \
515-
int res = PyDict_SetItemString(dict, (KEY), obj); \
516-
Py_DECREF(obj); \
517-
if (res < 0) \
518-
goto fail; \
519-
} while (0)
511+
do { \
512+
obj = (EXPR); \
513+
if (obj == NULL) \
514+
goto fail; \
515+
int res = PyDict_SetItemString(dict, (KEY), obj); \
516+
Py_DECREF(obj); \
517+
if (res < 0) \
518+
goto fail; \
519+
} while (0)
520520
#define SET_ITEM_INT(VAR) \
521521
SET_ITEM(#VAR, PyLong_FromLong(VAR))
522522
#define FROM_STRING(STR) \

0 commit comments

Comments
 (0)