[Python-checkins] cpython (3.2): demote this to a note
benjamin.peterson
python-checkins at python.org
Wed Jun 1 04:28:10 CEST 2011
http://hg.python.org/cpython/rev/d5874854481d
changeset: 70567:d5874854481d
branch: 3.2
parent: 70563:f2f74b8d6767
user: Benjamin Peterson <benjamin at python.org>
date: Tue May 31 21:27:41 2011 -0500
summary:
demote this to a note
files:
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
--- 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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list