Remove all values from sorted set. Runtime complexity: `O(n)`
(self)
| 362 | |
| 363 | |
| 364 | def clear(self): |
| 365 | """Remove all values from sorted set. |
| 366 | |
| 367 | Runtime complexity: `O(n)` |
| 368 | |
| 369 | """ |
| 370 | self._set.clear() |
| 371 | self._list.clear() |
| 372 | |
| 373 | |
| 374 | def copy(self): |
no outgoing calls