From 7070514226263f3d3f9ace506868b19df50e14ec Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 28 Aug 2024 11:51:42 +0200 Subject: [PATCH] Update Doc/c-api/long.rst Co-authored-by: Petr Viktorin --- Doc/c-api/long.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 682aa38d84b070..30133a9c5cfa2f 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -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