Skip to content

Commit 694059a

Browse files
committed
Do not use private _PyBytes_Join API call
1 parent 06e62af commit 694059a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/isal_zlibmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ GzipReader_readall(GzipReader *self, PyObject *Py_UNUSED(ignore))
20172017
Py_DECREF(chunk_list);
20182018
return NULL;
20192019
}
2020-
PyObject *ret = _PyBytes_Join(empty_bytes, chunk_list);
2020+
PyObject *ret = PyObject_CallMethod(empty_bytes, "join", "O", chunk_list);
20212021
Py_DECREF(empty_bytes);
20222022
Py_DECREF(chunk_list);
20232023
return ret;

0 commit comments

Comments
 (0)