]> granicus.if.org Git - python/commit
Clean-up bisect docs.
authorRaymond Hettinger <python@rcn.com>
Wed, 1 Sep 2010 06:58:25 +0000 (06:58 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 1 Sep 2010 06:58:25 +0000 (06:58 +0000)
commit20933e08b12b4e66c6e1baf662a679b4008d9dce
treeb40be3e8c3e563bcbaee1137c7ac2779ea4c2d61
parent49203dc9f2229b76c7b49a27e6793edbc99f8646
Clean-up bisect docs.
* Document the post conditions for bisect_left() and bisect_right().
* Fix the grades example to use more obvious breakpoints
  and to use a list comprehension instead of map() which returns
  an iterator in Py3.x.
* Improve and expand the examples of searching sorted lists.
* Issue 4356 -- move up reference to the SortedCollection recipe.
Doc/library/bisect.rst