summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-03-16 17:29:44 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-03-16 17:29:44 (GMT)
commitf75b290300152b52ea75fbd07b5f633ba12856de (patch)
tree93d56d74e28d17cfcabae580372044889228b72a /Doc/extending
parent0c1f7c0c8adacac5f2960357b1c35f23352b4e70 (diff)
downloadcpython-f75b290300152b52ea75fbd07b5f633ba12856de.zip
cpython-f75b290300152b52ea75fbd07b5f633ba12856de.tar.gz
cpython-f75b290300152b52ea75fbd07b5f633ba12856de.tar.bz2
Merged revisions 61413-61414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61413 | raymond.hettinger | 2008-03-16 06:20:42 +0100 (Sun, 16 Mar 2008) | 1 line Update docs to reflect removal of Exact/Inexact ........ r61414 | georg.brandl | 2008-03-16 09:00:19 +0100 (Sun, 16 Mar 2008) | 2 lines #2299: typos in newtypes.rst. ........
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/newtypes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index cbe3b68..106aae3 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -428,7 +428,7 @@ reference counts. When don't we have to do this?
* when decrementing a reference count in a :attr:`tp_dealloc` handler when
garbage-collections is not supported [#]_
-We want to want to expose our instance variables as attributes. There are a
+We want to expose our instance variables as attributes. There are a
number of ways to do that. The simplest way is to define member definitions::
static PyMemberDef Noddy_members[] = {
@@ -616,7 +616,7 @@ and register it in the :attr:`tp_getset` slot::
Noddy_getseters, /* tp_getset */
-to register out attribute getters and setters.
+to register our attribute getters and setters.
The last item in a :ctype:`PyGetSetDef` structure is the closure mentioned
above. In this case, we aren't using the closure, so we just pass *NULL*.
@@ -1538,7 +1538,7 @@ might be something like the following::
less careful about decrementing their reference counts, however, we accept
instances of string subclasses. Even though deallocating normal strings won't
call back into our objects, we can't guarantee that deallocating an instance of
- a string subclass won't. call back into out objects.
+ a string subclass won't call back into our objects.
.. [#] Even in the third version, we aren't guaranteed to avoid cycles. Instances of
string subclasses are allowed and string subclasses could allow cycles even if