summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-05-06 01:54:36 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-05-06 01:54:36 (GMT)
commit456ab1d2712dc9cebd878966c8fb16af47ea79f0 (patch)
treefe7217504414e9a667bdb40d7b82c05a8f8656a4 /Lib
parent8b3e871a19f414257b8f4a361d9c2c063a5f8015 (diff)
downloadcpython-456ab1d2712dc9cebd878966c8fb16af47ea79f0.zip
cpython-456ab1d2712dc9cebd878966c8fb16af47ea79f0.tar.gz
cpython-456ab1d2712dc9cebd878966c8fb16af47ea79f0.tar.bz2
Swap public and system ID in start_doctype_decl. Fixes #780300.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/xml/sax/expatreader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/sax/expatreader.py b/Lib/xml/sax/expatreader.py
index 58ad773..ab8cbc1 100644
--- a/Lib/xml/sax/expatreader.py
+++ b/Lib/xml/sax/expatreader.py
@@ -361,7 +361,7 @@ class ExpatParser(xmlreader.IncrementalParser, xmlreader.Locator):
def end_namespace_decl(self, prefix):
self._cont_handler.endPrefixMapping(prefix)
- def start_doctype_decl(self, name, pubid, sysid, has_internal_subset):
+ def start_doctype_decl(self, name, sysid, pubid, has_internal_subset):
self._lex_handler_prop.startDTD(name, pubid, sysid)
def unparsed_entity_decl(self, name, base, sysid, pubid, notation_name):