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

Skip to content

Commit 2e3a38a

Browse files
committed
demote this to a note
1 parent 0aa71f7 commit 2e3a38a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/weakref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ as much as it can.
5555
Return the referenced object from a weak reference, *ref*. If the referent is
5656
no longer live, returns :const:`Py_None`.
5757
58-
.. warning::
58+
.. note::
5959
6060
This function returns a **borrowed reference** to the referenced object.
6161
This means that you should always call :c:func:`Py_INCREF` on the object

0 commit comments

Comments
 (0)