MCPcopy Create free account
hub / github.com/rthalley/dnspython / minimum

Method minimum

dns/btree.py:261–266  ·  view source on GitHub ↗

The least element in this subtree.

(self)

Source from the content-addressed store, hash-verified

259 self.children.extend(right.children)
260
261 def minimum(self) -> ET:
262 """The least element in this subtree."""
263 if self.is_leaf:
264 return self.elts[0]
265 else:
266 return self.children[0].minimum()
267
268 def maximum(self) -> ET:
269 """The greatest element in this subtree."""

Callers 2

deleteMethod · 0.80
test_min_maxFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_min_maxFunction · 0.64