summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-07-26 19:25:54 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-07-26 19:25:54 (GMT)
commite03664ff222c05060476bc3a6b0cebc37b475c2c (patch)
tree7c7f28b37cc8eab7ef0dccac6b09404abe249781 /Doc
parente3e1ecacd5464076f49b1dcc84e9f9b6d074ceee (diff)
downloadcpython-e03664ff222c05060476bc3a6b0cebc37b475c2c.zip
cpython-e03664ff222c05060476bc3a6b0cebc37b475c2c.tar.gz
cpython-e03664ff222c05060476bc3a6b0cebc37b475c2c.tar.bz2
Two typo fixes
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/refcounting.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/refcounting.tex b/Doc/api/refcounting.tex
index add5d65..077543b 100644
--- a/Doc/api/refcounting.tex
+++ b/Doc/api/refcounting.tex
@@ -46,10 +46,10 @@ of Python objects.
Decrement the reference count for object \var{o}. The object may be
\NULL, in which case the macro has no effect; otherwise the effect
is the same as for \cfunction{Py_DECREF()}, except that the argument
- is also set to \NULL. The warning for \cfunction{Py_DECREF()}, does
+ is also set to \NULL. The warning for \cfunction{Py_DECREF()} does
not apply with respect to the object passed because the macro
carefully uses a temporary variable and sets the argument to \NULL
- before decrementing it's reference count.
+ before decrementing its reference count.
It is a good idea to use this macro whenever decrementing the value
of a variable that might be traversed during garbage collection.