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

Antoine Pitrou report at bugs.python.org
Thu Jun 5 14:02:59 CEST 2014


Antoine Pitrou added the comment:

Two things:
- I don't think it's very helpful to use the term "code point" without explaining or introducing it ("character" at least can be understood intuitively)
- The mention of slicing is ambiguous: is slicing suppoded to be O(1)? how is indexing related to slicing?

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21667>
_______________________________________


More information about the docs mailing list