Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #38: Correct time complexity documentation for sortedset.index.

  • Loading branch information...
commit e48202c8ba154a14633879c9ddb61b494f1a7965 1 parent e05b4b9
@DanielStutzbach authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/sortedset.rst
4 doc/sortedset.rst
@@ -221,8 +221,8 @@ sortedset
defaults to the beginning. Negative indexes are supported, as
for slice indices.
- In the worst case, requires |theta(stop-start)| operations and
- |theta(stop-start)| comparisons.
+ In the worst case, requires |theta(log**2 m)| operations and
+ |theta(log m)| comparisons, where *m* is *stop* - *start*.
:rtype: :class:`int`
Please sign in to comment.
Something went wrong with that request. Please try again.