commit | 2e3a38a77468661f19d228977aa8fa2616d14a6a | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue May 31 21:27:41 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Tue May 31 21:27:41 2011 -0500 |
tree | bae5f0028ff8029f1e8ab60940f4e9cd964bbeea | |
parent | 0aa71f79821e22c987f86808b0333d57c663728c [diff] [blame] |
demote this to a note
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 @@ 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