Skip to content
Prev Previous commit
Update Doc/c-api/long.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
  • Loading branch information
vstinner and encukou authored Aug 28, 2024
commit 7070514226263f3d3f9ace506868b19df50e14ec
3 changes: 2 additions & 1 deletion Doc/c-api/long.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
PyObject* PyLong_FromUInt64(uint64_t value)

Return a new :c:type:`PyLongObject` object from an unsigned C
:c:expr:`uint32_t` or :c:expr:`uint64_t`, or ``NULL`` on failure.
:c:expr:`uint32_t` or :c:expr:`uint64_t`, or ``NULL``
with an exception set on failure.

.. versionadded:: 3.14

Expand Down