Textual data is modeled with the immutable str
type.
The str
type supports four orthogonal abstract concepts that together constitute the idea of a sequence: Every str
object is an iterable container of a finite number of ordered characters.
A single character in a str
object follows the idea of a Unicode character. It is mapped to a unique code point that is encoded into bytes with a dedicated character encoding, for example, UTF-8.