[Python-checkins] r67785 - python/trunk/Doc/extending/extending.rst

georg.brandl python-checkins at python.org
Mon Dec 15 09:36:11 CET 2008


Author: georg.brandl
Date: Mon Dec 15 09:36:11 2008
New Revision: 67785

Log:
#4611: fix typo.


Modified:
   python/trunk/Doc/extending/extending.rst

Modified: python/trunk/Doc/extending/extending.rst
==============================================================================
--- python/trunk/Doc/extending/extending.rst	(original)
+++ python/trunk/Doc/extending/extending.rst	Mon Dec 15 09:36:11 2008
@@ -865,7 +865,7 @@
 The advantage of borrowing over owning a reference is that you don't need to
 take care of disposing of the reference on all possible paths through the code
 --- in other words, with a borrowed reference you don't run the risk of leaking
-when a premature exit is taken.  The disadvantage of borrowing over leaking is
+when a premature exit is taken.  The disadvantage of borrowing over owning is
 that there are some subtle situations where in seemingly correct code a borrowed
 reference can be used after the owner from which it was borrowed has in fact
 disposed of it.


More information about the Python-checkins mailing list