Skip to content
Merged
Changes from 2 commits
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
6 changes: 6 additions & 0 deletions Doc/c-api/long.rst
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,9 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
with :c:func:`PyLong_FromVoidPtr`.

Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate.


If you want to convert to or from a binary big integer array of bytes
representation, call the Python :meth:`int.to_bytes` or :meth:`int.from_bytes`
methods using one of the :c:func:`PyObject_CallMethod` C APIs.