diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-07 21:02:00 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-07 21:02:00 (GMT) |
commit | 04f39aa859764a9838240d28d6ac3a844c8b6aed (patch) | |
tree | 6566c2f5655e36e9d8b69feecae195d1cd0609f7 /Lib/xml | |
parent | 65d6edb478d8c649766c59c5ae186bf0d1e812e6 (diff) | |
download | cpython-04f39aa859764a9838240d28d6ac3a844c8b6aed.zip cpython-04f39aa859764a9838240d28d6ac3a844c8b6aed.tar.gz cpython-04f39aa859764a9838240d28d6ac3a844c8b6aed.tar.bz2 |
fix inconsistent use of tabs and spaces
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/sax/_exceptions.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Lib/xml/sax/_exceptions.py b/Lib/xml/sax/_exceptions.py index f05bd88..5ba0bea 100644 --- a/Lib/xml/sax/_exceptions.py +++ b/Lib/xml/sax/_exceptions.py @@ -22,8 +22,8 @@ class SAXException(Exception): self._exception = exception def getMessage(self): - "Return a message for this exception." - return self._msg + "Return a message for this exception." + return self._msg def getException(self): "Return the embedded exception, or None if there was none." @@ -60,21 +60,21 @@ class SAXParseException(SAXException): self._locator = locator def getColumnNumber(self): - """The column number of the end of the text where the exception + """The column number of the end of the text where the exception occurred.""" - return self._locator.getColumnNumber() + return self._locator.getColumnNumber() def getLineNumber(self): - "The line number of the end of the text where the exception occurred." - return self._locator.getLineNumber() + "The line number of the end of the text where the exception occurred." + return self._locator.getLineNumber() def getPublicId(self): - "Get the public identifier of the entity where the exception occurred." - return self._locator.getPublicId() + "Get the public identifier of the entity where the exception occurred." + return self._locator.getPublicId() def getSystemId(self): - "Get the system identifier of the entity where the exception occurred." - return self._locator.getSystemId() + "Get the system identifier of the entity where the exception occurred." + return self._locator.getSystemId() def __str__(self): "Create a string representation of the exception." |