What is internal representation of string in Python 3.x

后端 未结 8 1081
逝去的感伤
逝去的感伤 2020-12-03 13:43

In Python 3.x, a string consists of items of Unicode ordinal. (See the quotation from the language reference below.) What is the internal representation of Unicode string? I

8条回答
  •  感动是毒
    2020-12-03 14:15

    It depends: see here. This is still true for Python 3 as far as internal representation goes.

提交回复
热议问题