Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _ensure_attributes
Method
_ensure_attributes
Lib/xml/dom/minidom.py:712–715 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
710
self._attrsNS = None
711
712
def
_ensure_attributes(self):
713
if
self._attrs is None:
714
self._attrs = {}
715
self._attrsNS = {}
716
717
def
_get_localName(self):
718
try
:
Callers
4
setAttributeNode
Method · 0.95
_get_attributes
Method · 0.95
start_element_handler
Method · 0.95
_set_attribute_node
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected