Skip to content

Commit cb664fe

Browse files
committed
refactor
1 parent 970c10b commit cb664fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/bytesobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2873,13 +2873,13 @@ _PyBytes_FromSequence_lock_held(PyObject *x)
28732873
Py_ssize_t value = PyNumber_AsSsize_t(items[i], NULL);
28742874
if (value == -1 && PyErr_Occurred()) {
28752875
Py_DECREF(bytes);
2876-
return NULL
2876+
return NULL;
28772877
}
28782878
if (value < 0 || value >= 256) {
28792879
PyErr_SetString(PyExc_ValueError,
28802880
"bytes must be in range(0, 256)");
28812881
Py_DECREF(bytes);
2882-
return NULL
2882+
return NULL;
28832883
}
28842884
*str++ = (char) value;
28852885
}

0 commit comments

Comments
 (0)