From 2e3a38a77468661f19d228977aa8fa2616d14a6a Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 31 May 2011 21:27:41 -0500 Subject: demote this to a note --- Doc/c-api/weakref.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/weakref.rst b/Doc/c-api/weakref.rst index 6b053c8..6cb3e33 100644 --- a/Doc/c-api/weakref.rst +++ b/Doc/c-api/weakref.rst @@ -55,7 +55,7 @@ as much as it can. Return the referenced object from a weak reference, *ref*. If the referent is no longer live, returns :const:`Py_None`. - .. warning:: + .. note:: This function returns a **borrowed reference** to the referenced object. This means that you should always call :c:func:`Py_INCREF` on the object -- cgit v0.12