summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/dom/__init__.py')
-rw-r--r--Lib/xml/dom/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/xml/dom/__init__.py b/Lib/xml/dom/__init__.py
index 11cd3da..40a1a76 100644
--- a/Lib/xml/dom/__init__.py
+++ b/Lib/xml/dom/__init__.py
@@ -120,6 +120,15 @@ class InvalidAccessErr(DOMException):
class ValidationErr(DOMException):
code = VALIDATION_ERR
+class UserDataHandler:
+ """Class giving the operation constants for UserDataHandler.handle()."""
+
+ # Based on DOM Level 3 (WD 9 April 2002)
+
+ NODE_CLONED = 1
+ NODE_IMPORTED = 2
+ NODE_DELETED = 3
+ NODE_RENAMED = 4
XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"
XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/"