summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.sax.reader.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-03 12:06:29 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-03 12:06:29 (GMT)
commit7cb13196882e49d9d02f1b9eb7f9980cda77fd0c (patch)
tree779e11d7fdf0ad43a4dca32e978d6fdee6c4e4ce /Doc/library/xml.sax.reader.rst
parente8e02e3b5bcb28ff76975c3f9a29af874e005f81 (diff)
downloadcpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.zip
cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.gz
cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.bz2
Terminology fix: exceptions are raised, except in generator.throw().
Diffstat (limited to 'Doc/library/xml.sax.reader.rst')
-rw-r--r--Doc/library/xml.sax.reader.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.sax.reader.rst b/Doc/library/xml.sax.reader.rst
index fb91389..6683da1 100644
--- a/Doc/library/xml.sax.reader.rst
+++ b/Doc/library/xml.sax.reader.rst
@@ -154,7 +154,7 @@ The :class:`XMLReader` interface supports the following methods:
Allow an application to set the locale for errors and warnings.
SAX parsers are not required to provide localization for errors and warnings; if
- they cannot support the requested locale, however, they must throw a SAX
+ they cannot support the requested locale, however, they must raise a SAX
exception. Applications may request a locale change in the middle of a parse.