Skip to content

Commit 31d0548

Browse files
committed
Fix return type in docs
1 parent cba2d54 commit 31d0548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ Object Protocol
637637
638638
.. versionadded:: 3.14
639639
640-
.. c:function:: int PyUnstable_EnableTryIncRef(PyObject *obj)
640+
.. c:function:: void PyUnstable_EnableTryIncRef(PyObject *obj)
641641
642642
Enables subsequent uses of :c:func:`PyUnstable_TryIncRef` on *obj*. The
643643
caller must hold a :term:`strong reference` to *obj* when calling this.

0 commit comments

Comments
 (0)