summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-09-21 14:48:28 (GMT)
committerGeorg Brandl <georg@python.org>2010-09-21 14:48:28 (GMT)
commit6faee4e2ce8ee107bfe92bac74afa2c30ed4aebd (patch)
tree2493738443750be19a421393c8b20fde0f1a195e /Doc/extending
parentaf38dc5b0c6f4a0308555199a07fcaba8f27e94d (diff)
downloadcpython-6faee4e2ce8ee107bfe92bac74afa2c30ed4aebd.zip
cpython-6faee4e2ce8ee107bfe92bac74afa2c30ed4aebd.tar.gz
cpython-6faee4e2ce8ee107bfe92bac74afa2c30ed4aebd.tar.bz2
#9911: doc copyedits.
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/newtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index 63ea2a6..d48efc9 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -1249,7 +1249,7 @@ This function is called with two Python objects and the operator as arguments,
where the operator is one of ``Py_EQ``, ``Py_NE``, ``Py_LE``, ``Py_GT``,
``Py_LT`` or ``Py_GT``. It should compare the two objects with respect to the
specified operator and return ``Py_True`` or ``Py_False`` if the comparison is
-successfull, ``Py_NotImplemented`` to indicate that comparison is not
+successful, ``Py_NotImplemented`` to indicate that comparison is not
implemented and the other object's comparison method should be tried, or *NULL*
if an exception was set.