[docs] [issue18572] Remove redundant note about surrogates in string escape doc

Ezio Melotti report at bugs.python.org
Thu Aug 8 15:34:14 CEST 2013


Ezio Melotti added the comment:

I think it's OK to remove the sentence.

Converting a surrogate pair to a non-BMP char is something that works only while decoding a UTF-16 byte sequence.  Surrogates are invalid in UTF-8/32, and while dealing with Unicode strings, surrogates have no special meaning and are no different from any other codepoint, whether they are lone or paired.

----------
nosy: +ezio.melotti

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


More information about the docs mailing list