The least element in this subtree.
(self)
| 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.""" |
no outgoing calls