summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax/_exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/sax/_exceptions.py')
-rw-r--r--Lib/xml/sax/_exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/sax/_exceptions.py b/Lib/xml/sax/_exceptions.py
index 628e80d..fdd614a 100644
--- a/Lib/xml/sax/_exceptions.py
+++ b/Lib/xml/sax/_exceptions.py
@@ -93,10 +93,10 @@ class SAXParseException(SAXException):
sysid = "<unknown>"
linenum = self.getLineNumber()
if linenum is None:
- linenum = "?"
+ linenum = "?"
colnum = self.getColumnNumber()
if colnum is None:
- colnum = "?"
+ colnum = "?"
return "%s:%s:%s: %s" % (sysid, linenum, colnum, self._msg)