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

Function _nssplit

Lib/xml/dom/minidom.py:1982–1987  ·  view source on GitHub ↗
(qualifiedName)

Source from the content-addressed store, hash-verified

1980
1981
1982def _nssplit(qualifiedName):
1983 fields = qualifiedName.split(':', 1)
1984 if len(fields) == 2:
1985 return fields
1986 else:
1987 return (None, fields[0])
1988
1989
1990def _do_pulldom_parse(func, args, kwargs):

Callers 5

setAttributeNSMethod · 0.85
__init__Method · 0.85
createDocumentMethod · 0.85
createElementNSMethod · 0.85
createAttributeNSMethod · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…