Documentation
In Doc/library/bisect.rst , The documentation never tells the reader that the list has to be sorted in ascending order for the functions to work correctly in the beginning.
This module provides support for maintaining a list in sorted order without
having to sort the list after each insertion.
I can open a PR that modifies this to:
This module provides support for maintaining a list, sorted in ascending order without
having to sort the list after each insertion.
or something else ,if required.
Documentation
In
Doc/library/bisect.rst, The documentation never tells the reader that the list has to be sorted in ascending order for the functions to work correctly in the beginning.I can open a PR that modifies this to:
or something else ,if required.