mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Added the convenience constants that are present in PyXML to make these
more similar.
This commit is contained in:
parent
b3be216b41
commit
bd34b6bc3d
2 changed files with 41 additions and 0 deletions
|
@ -116,4 +116,10 @@ class NamespaceErr(DOMException):
|
|||
class InvalidAccessErr(DOMException):
|
||||
code = INVALID_ACCESS_ERR
|
||||
|
||||
|
||||
XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"
|
||||
XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/"
|
||||
XHTML_NAMESPACE = "http://www.w3.org/1999/xhtml"
|
||||
EMPTY_NAMESPACE = None
|
||||
|
||||
from domreg import getDOMImplementation,registerDOMImplementation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue