Skip to content

Commit

Permalink
fix: remove copy-pasta
Browse files Browse the repository at this point in the history
Because we are emulating the Python stdlib function only for internal
purposes, we do not want (nor are we allowed) to export it as a
publically-linkable endpoing.
  • Loading branch information
tseaver committed Apr 10, 2024
1 parent fada620 commit 4128ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zodbpickle/_pickle_33.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ _Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size)
* In 3.13a5 ``_PyLong_AsByteArray`` got a new ``with_exceptions`` argument.
* See https://github.com/python/cpython/commit/7861dfd26a41e40c2b4361eb0bb1356b9b4a064b
*/
PyAPI_FUNC(int) _PyLong_AsByteArray_compat(PyLongObject* v,
static int _PyLong_AsByteArray_compat(PyLongObject* v,
unsigned char* bytes, size_t n,
int little_endian, int is_signed)
{
Expand Down

0 comments on commit 4128ad8

Please sign in to comment.