summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 10:34:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 10:34:31 (GMT)
commitc2077b0d9b5bf99768c6f396bf7ae6c41b682465 (patch)
tree8a1dc9e646a99465f4f1c9961012d52ef183e653 /Lib/xml
parent6905de14fef619767693f8bd91996bc7e99ca9fe (diff)
downloadcpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.zip
cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.gz
cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.bz2
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/minicompat.py2
-rw-r--r--Lib/xml/dom/minidom.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/dom/minicompat.py b/Lib/xml/dom/minicompat.py
index d491fb6..de4cb4f 100644
--- a/Lib/xml/dom/minicompat.py
+++ b/Lib/xml/dom/minicompat.py
@@ -6,7 +6,7 @@
#
# NodeList -- lightest possible NodeList implementation
#
-# EmptyNodeList -- lightest possible NodeList that is guarateed to
+# EmptyNodeList -- lightest possible NodeList that is guaranteed to
# remain empty (immutable)
#
# StringTypes -- tuple of defined string types
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index 1712fd2..7518852 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -1875,7 +1875,7 @@ def _clone_node(node, deep, newOwnerDocument):
e._call_user_data_handler(operation, n, entity)
else:
# Note the cloning of Document and DocumentType nodes is
- # implemenetation specific. minidom handles those cases
+ # implementation specific. minidom handles those cases
# directly in the cloneNode() methods.
raise xml.dom.NotSupportedErr("Cannot clone node %s" % repr(node))