Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, object=None):
if (not object):
object = xml.dom.minidom.Document()
XMLElement.__init__(self, object)
self.__file__ = ''
# TODO: Remove when all uses are gone, should no longer be needed
self.escapeDict = {}