SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API)

(Contributed by Florent Rougon.)
This commit is contained in:
Raymond Hettinger 2003-12-07 11:40:17 +00:00
parent e3d5f98180
commit 2619c9ec89
4 changed files with 8 additions and 9 deletions

View file

@ -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.