Skip to content

Commit 57b4dc0

Browse files
committed
pep7
1 parent a1b47fe commit 57b4dc0

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
@@ -1116,8 +1116,9 @@ _match_number_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t start, Py_
11161116
double d = PyOS_string_to_double(buf, NULL, NULL);
11171117
rval = (d == -1.0 && PyErr_Occurred()) ? NULL : PyFloat_FromDouble(d);
11181118
}
1119-
else
1119+
else {
11201120
rval = PyLong_FromString(buf, NULL, 10);
1121+
}
11211122
Py_XDECREF(numstr);
11221123
}
11231124
*next_idx_ptr = idx;

0 commit comments

Comments
 (0)