summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-01 02:28:03 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-01 02:28:03 (GMT)
commit2945a998409fcbc507330c49b870aea8e819a00f (patch)
tree3df601415b424075aaed765402cc28c7879e1740 /Doc/c-api
parent8c6f88efa2371addacc2acf5cc4634974160406c (diff)
parent2e3a38a77468661f19d228977aa8fa2616d14a6a (diff)
downloadcpython-2945a998409fcbc507330c49b870aea8e819a00f.zip
cpython-2945a998409fcbc507330c49b870aea8e819a00f.tar.gz
cpython-2945a998409fcbc507330c49b870aea8e819a00f.tar.bz2
merge 3.2
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/weakref.rst2
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