Skip to content
Snippets Groups Projects
Commit 43f54314 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

ver bump

parent cb4f233b
No related branches found
No related tags found
No related merge requests found
# v2.7.48
* added __bool__ to `SortedList`
* added `queue_get`
* added __bool__ to `Multirun`
# v2.7.49
__version__ = '2.7.48'
__version__ = '2.7.49_a1'
......@@ -10,7 +10,9 @@ class SortedList(tp.Generic[T]):
It is assumed that keys of constituent elements don't change.
list[0] will have the smallest element, and list[-1] the biggest
list[0] will have the smallest element, and list[-1] the biggest.
Addition is O(n) worst-case, so is deletion.
:param items: items to construct the list with
:param key: a callable[T]->int that builds the key of the sort
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment