Simon Willison’s Weblog

Tuesday, 25th June 2013

Why does Python not have any data structures that store data in sorted order?

The bisect module provides functions for achieving this using a python list as the underlying data structure: http://docs.python.org/2/library...

[... 39 words]

2013 » June

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930