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

Method hasFeature

Lib/xml/dom/minidom.py:1439–1442  ·  view source on GitHub ↗
(self, feature, version)

Source from the content-addressed store, hash-verified

1437 ]
1438
1439 def hasFeature(self, feature, version):
1440 if version == "":
1441 version = None
1442 return (feature.lower(), version) in self._features
1443
1444 def createDocument(self, namespaceURI, qualifiedName, doctype):
1445 if doctype and doctype.parentNode is not None:

Callers 5

getInterfaceMethod · 0.95
_good_enoughFunction · 0.80
isSupportedMethod · 0.80
isSupportedMethod · 0.80
getDOMImplementationFunction · 0.80

Calls 1

lowerMethod · 0.45

Tested by

no test coverage detected