summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-12-07 11:40:17 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-12-07 11:40:17 (GMT)
commit2619c9ec896810291b1d4e1277e496caa5995d86 (patch)
treefbe993d149eb3c31e875dd322599f0be7c0d91a2 /Doc/ext
parente3d5f98180c62db4ecb1ba8ad3277b40d3ec9775 (diff)
downloadcpython-2619c9ec896810291b1d4e1277e496caa5995d86.zip
cpython-2619c9ec896810291b1d4e1277e496caa5995d86.tar.gz
cpython-2619c9ec896810291b1d4e1277e496caa5995d86.tar.bz2
SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API)
(Contributed by Florent Rougon.)
Diffstat (limited to 'Doc/ext')
-rw-r--r--Doc/ext/newtypes.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex
index 743cb5a..c296adb 100644
--- a/Doc/ext/newtypes.tex
+++ b/Doc/ext/newtypes.tex
@@ -537,7 +537,7 @@ and assign them to the \member{tp_methods} slot:
Noddy_methods, /* tp_methods */
\end{verbatim}
-Note that used the \constant{METH_NOARGS} flag to indicate that the
+Note that we used the \constant{METH_NOARGS} flag to indicate that the
method is passed no arguments.
Finally, we'll make our type usable as a base class. We've written
@@ -683,7 +683,7 @@ when objects are involved in cycles. For example, consider:
\end{verbatim}
In this example, we create a list that contains itself. When we delete
-it, it still has a reference from itself. It's reference count doesn't
+it, it still has a reference from itself. Its reference count doesn't
drop to zero. Fortunately, Python's cyclic-garbage collector will
eventually figure out that the list is garbage and free it.