We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 970c10b commit cb664feCopy full SHA for cb664fe
1 file changed
Objects/bytesobject.c
@@ -2873,13 +2873,13 @@ _PyBytes_FromSequence_lock_held(PyObject *x)
2873
Py_ssize_t value = PyNumber_AsSsize_t(items[i], NULL);
2874
if (value == -1 && PyErr_Occurred()) {
2875
Py_DECREF(bytes);
2876
- return NULL
+ return NULL;
2877
}
2878
if (value < 0 || value >= 256) {
2879
PyErr_SetString(PyExc_ValueError,
2880
"bytes must be in range(0, 256)");
2881
2882
2883
2884
*str++ = (char) value;
2885
0 commit comments