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

Nick Coghlan report at bugs.python.org
Thu Jun 5 13:08:38 CEST 2014


Nick Coghlan added the comment:

No, Python doesn't expose Unicode characters in its data model at all, except in those cases where a code point happens to correspond directly with a character. A length 1 str instance represents a Unicode code point, not a Unicode character.

----------

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


More information about the docs mailing list