MCPcopy Index your code
hub / github.com/python/cpython / _get_attributes

Method _get_attributes

Lib/xml/dom/minidom.py:914–916  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

912 writer.write("/>%s"%(newl))
913
914 def _get_attributes(self):
915 self._ensure_attributes()
916 return NamedNodeMap(self._attrs, self._attrsNS, self)
917
918 def hasAttributes(self):
919 if self._attrs:

Callers 1

writexmlMethod · 0.95

Calls 2

_ensure_attributesMethod · 0.95
NamedNodeMapClass · 0.85

Tested by

no test coverage detected