diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 09:17:24 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 09:17:24 (GMT) |
commit | e85e1ae413d28e78d66a7b74d68f08895479543f (patch) | |
tree | 849669a63355f08a22b180468a45afcb94a794c6 /Lib/xml | |
parent | 41b986c35237ba0c05aac262fc31f4a40fb57c52 (diff) | |
download | cpython-e85e1ae413d28e78d66a7b74d68f08895479543f.zip cpython-e85e1ae413d28e78d66a7b74d68f08895479543f.tar.gz cpython-e85e1ae413d28e78d66a7b74d68f08895479543f.tar.bz2 |
Merged revisions 82757-82758,82760-82764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82757 | georg.brandl | 2010-07-10 10:58:37 +0200 (Sa, 10 Jul 2010) | 1 line
Fix markup.
........
r82758 | georg.brandl | 2010-07-10 12:23:40 +0200 (Sa, 10 Jul 2010) | 1 line
Emphasize role of count for Pascal string.
........
r82760 | georg.brandl | 2010-07-10 12:39:57 +0200 (Sa, 10 Jul 2010) | 1 line
#3214: improve description of duck-typing in glossary.
........
r82761 | georg.brandl | 2010-07-10 13:40:13 +0200 (Sa, 10 Jul 2010) | 1 line
#1434090: properly append child in expatbuilder doctype handler.
........
r82762 | georg.brandl | 2010-07-10 13:51:06 +0200 (Sa, 10 Jul 2010) | 1 line
#8338: fix outdated class name.
........
r82763 | georg.brandl | 2010-07-10 14:01:34 +0200 (Sa, 10 Jul 2010) | 1 line
#8456: fix signature of sqlite3.connect().
........
r82764 | georg.brandl | 2010-07-10 14:20:38 +0200 (Sa, 10 Jul 2010) | 1 line
#8564: update docs on integrating doctest/unittest with unittest(2) test discovery.
........
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/dom/expatbuilder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/expatbuilder.py b/Lib/xml/dom/expatbuilder.py index a2f8a33..4fba875 100644 --- a/Lib/xml/dom/expatbuilder.py +++ b/Lib/xml/dom/expatbuilder.py @@ -242,7 +242,7 @@ class ExpatBuilder: doctype = self.document.implementation.createDocumentType( doctypeName, publicId, systemId) doctype.ownerDocument = self.document - self.document.childNodes.append(doctype) + _append_child(self.document, doctype) self.document.doctype = doctype if self._filter and self._filter.acceptNode(doctype) == FILTER_REJECT: self.document.doctype = None |