Skip to content

Commit

Permalink
Do not use private _PyBytes_Join API call
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpvorderman committed Jan 24, 2024
1 parent 06e62af commit 694059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isal/isal_zlibmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ GzipReader_readall(GzipReader *self, PyObject *Py_UNUSED(ignore))
Py_DECREF(chunk_list);
return NULL;
}
PyObject *ret = _PyBytes_Join(empty_bytes, chunk_list);
PyObject *ret = PyObject_CallMethod(empty_bytes, "join", "O", chunk_list);
Py_DECREF(empty_bytes);
Py_DECREF(chunk_list);
return ret;
Expand Down

0 comments on commit 694059a

Please sign in to comment.