Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Space
  • Loading branch information
zooba committed Feb 2, 2024
commit b4761be8406d1e7bdf9e0c69936e47f19ff1a32e
2 changes: 1 addition & 1 deletion Modules/_testcapi/long.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ pylong_frombits(PyObject *module, PyObject *args)
PyBuffer_Release(&buffer);
return NULL;
}
PyObject *res = signed_
PyObject *res = signed_
? PyLong_FromBits(buffer.buf, n, (int)endianness)
: PyLong_FromUnsignedBits(buffer.buf, n, (int)endianness);
PyBuffer_Release(&buffer);
Expand Down