mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Swap public and system ID in start_doctype_decl. Fixes #780300.
This commit is contained in:
parent
8b3e871a19
commit
456ab1d271
3 changed files with 8 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue