diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
commit | 682d7e0e07bc29de4578f48be66756c5b969776f (patch) | |
tree | 4e1c379e13ebca676c4fbee38ed251ecc88c1133 /Doc/extending/extending.rst | |
parent | fa4f7f97b8af16c02441443e448986c07f4cd254 (diff) | |
download | cpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2 |
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/extending/extending.rst')
-rw-r--r-- | Doc/extending/extending.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index dcef3f8..1d40649 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -162,7 +162,7 @@ information about the cause of the error to be lost: most operations can fail for a variety of reasons.) To ignore an exception set by a function call that failed, the exception -c:ondition must be cleared explicitly by calling :c:func:`PyErr_Clear`. The only +condition must be cleared explicitly by calling :c:func:`PyErr_Clear`. The only time C code should call :c:func:`PyErr_Clear` is if it doesn't want to pass the error on to the interpreter but wants to handle it completely by itself (possibly by trying something else, or pretending nothing went wrong). |