Skip to content

Commit 7298380

Browse files
committed
add curlies
1 parent 56ccb80 commit 7298380

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/import.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2264,8 +2264,9 @@ PyInit_imp(void)
22642264
if (d == NULL)
22652265
goto failure;
22662266
PyObject *pyc_mode = PyUnicode_FromString(_Py_CheckHashBasedPycsMode);
2267-
if (pyc_mode == NULL)
2267+
if (pyc_mode == NULL) {
22682268
goto failure;
2269+
}
22692270
if (PyDict_SetItemString(d, "check_hash_based_pycs", pyc_mode) < 0) {
22702271
Py_DECREF(pyc_mode);
22712272
goto failure;

0 commit comments

Comments
 (0)