[docs] [issue21667] Clarify status of O(1) indexing semantics of str objects

STINNER Victor report at bugs.python.org
Thu Jun 5 14:49:03 CEST 2014

STINNER Victor added the comment:

> Then perhaps we need notes about algorithmic complexity of bytes, bytearray, list and tuple and dict indexing, set.add and set.discard, dict.__delitem__, list.pop, len(), + and += for all basic sequences and containers, memoryview() for bytes, bytearray and array.array, etc, etc.

That would be awesome :-) Please open a new issue for that. We can use
for example these data:

Such data should be close to the definition of the type, or even close
to the method. Maybe directly in the documentation of each method?


Python tracker <report at bugs.python.org>

More information about the docs mailing list