Delete the element matching *key* from the BTree. Returns the matching element or ``None`` if it does not exist.
(self, key: KT)
| 709 | return elt |
| 710 | |
| 711 | def delete_key(self, key: KT) -> ET | None: |
| 712 | """Delete the element matching *key* from the BTree. |
| 713 | |
| 714 | Returns the matching element or ``None`` if it does not exist. |
| 715 | """ |
| 716 | return self._delete(key, None) |
| 717 | |
| 718 | def delete_exact(self, element: ET) -> ET | None: |
| 719 | """Delete *element* from the BTree. |