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

Function iselement

Lib/xml/etree/ElementTree.py:118–120  ·  view source on GitHub ↗

Return True if *element* appears to be an Element.

(element)

Source from the content-addressed store, hash-verified

116
117
118def iselement(element):
119 """Return True if *element* appears to be an Element."""
120 return hasattr(element, 'tag')
121
122
123class Element:

Callers 3

removeMethod · 0.85
__init__Method · 0.85
_setrootMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…