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

Method start_ns

Lib/xml/etree/ElementTree.py:1920–1926  ·  view source on GitHub ↗
(self, prefix, uri)

Source from the content-addressed store, hash-verified

1918 self._write(_escape_cdata_c14n(data))
1919
1920 def start_ns(self, prefix, uri):
1921 if self._ignored_depth:
1922 return
1923 # we may have to resolve qnames in text content
1924 if self._data:
1925 self._flush()
1926 self._ns_stack[-1].append((uri, prefix))
1927
1928 def start(self, tag, attrs):
1929 if self._exclude_tags is not None and (

Callers 1

_start_nsMethod · 0.45

Calls 2

_flushMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected