Skip to content

Commit b3a7070

Browse files
committed
add curlies
1 parent 4b242dd commit b3a7070

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
@@ -2250,8 +2250,9 @@ PyInit_imp(void)
22502250
if (d == NULL)
22512251
goto failure;
22522252
PyObject *pyc_mode = PyUnicode_FromString(_Py_CheckHashBasedPycsMode);
2253-
if (pyc_mode == NULL)
2253+
if (pyc_mode == NULL) {
22542254
goto failure;
2255+
}
22552256
if (PyDict_SetItemString(d, "check_hash_based_pycs", pyc_mode) < 0) {
22562257
Py_DECREF(pyc_mode);
22572258
goto failure;

0 commit comments

Comments
 (0)