Skip to content

Commit c14d806

Browse files
committed
pep7
1 parent 45fac46 commit c14d806

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/_json.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,8 +1066,9 @@ _match_number_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t start, Py_
10661066
PyObject *numstr = PyUnicode_FromKindAndData(kind,
10671067
(char*)str + kind * start,
10681068
idx - start);
1069-
if (numstr == NULL)
1069+
if (numstr == NULL) {
10701070
return NULL;
1071+
}
10711072
rval = PyObject_CallOneArg(custom_func, numstr);
10721073
Py_DECREF(numstr);
10731074
}

0 commit comments

Comments
 (0)