diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-16 12:04:32 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-16 12:04:32 +0000 |
commit | 764fa07469563f448c0ab6a20dad3943e4231ce5 (patch) | |
tree | 44b099de81d99a0e892ef5afbf5f49abf2dd98aa /Lib/xml/sax/xmlreader.py | |
parent | 68d8117162e83550ba7f5c949f6fbea19d1d3cc0 (diff) | |
download | cpython-764fa07469563f448c0ab6a20dad3943e4231ce5.tar.gz |
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
Diffstat (limited to 'Lib/xml/sax/xmlreader.py')
-rw-r--r-- | Lib/xml/sax/xmlreader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/sax/xmlreader.py b/Lib/xml/sax/xmlreader.py index 8bc33d8392..84a8bbbaba 100644 --- a/Lib/xml/sax/xmlreader.py +++ b/Lib/xml/sax/xmlreader.py @@ -50,7 +50,7 @@ class XMLReader: def setLocale(self, locale): """Allow an application to set the locale for errors and warnings. - SAX parsers are not required to provide localisation for errors + 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 exception. Applications may request a locale change in the middle of a parse.""" |