From: Benjamin Peterson Date: Wed, 1 Jun 2011 02:27:41 +0000 (-0500) Subject: demote this to a note X-Git-Tag: v3.2.1rc2~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e3a38a77468661f19d228977aa8fa2616d14a6a;p=thirdparty%2FPython%2Fcpython.git demote this to a note --- diff --git a/Doc/c-api/weakref.rst b/Doc/c-api/weakref.rst index 6b053c86920d..6cb3e33fe843 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