diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-06-01 02:27:41 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-06-01 02:27:41 (GMT) |
commit | 2e3a38a77468661f19d228977aa8fa2616d14a6a (patch) | |
tree | bae5f0028ff8029f1e8ab60940f4e9cd964bbeea /Doc/c-api/weakref.rst | |
parent | 0aa71f79821e22c987f86808b0333d57c663728c (diff) | |
download | cpython-2e3a38a77468661f19d228977aa8fa2616d14a6a.zip cpython-2e3a38a77468661f19d228977aa8fa2616d14a6a.tar.gz cpython-2e3a38a77468661f19d228977aa8fa2616d14a6a.tar.bz2 |
demote this to a note
Diffstat (limited to 'Doc/c-api/weakref.rst')
-rw-r--r-- | Doc/c-api/weakref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |