diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-25 14:22:22 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-25 14:22:22 (GMT) |
commit | f7f0a66a8fb40eb1c66e92451b05fda665e4f73c (patch) | |
tree | 0fceed87bd2224e41334acec8db6b18b753ae39d /Doc/reference | |
parent | cb98bed2992022d85d456c146a956e248be04000 (diff) | |
download | cpython-f7f0a66a8fb40eb1c66e92451b05fda665e4f73c.zip cpython-f7f0a66a8fb40eb1c66e92451b05fda665e4f73c.tar.gz cpython-f7f0a66a8fb40eb1c66e92451b05fda665e4f73c.tar.bz2 |
Fix typos.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 241d9cc..a93c09a 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -279,9 +279,9 @@ Sequences A string is a sequence of values that represent Unicode codepoints. All the codepoints in range ``U+0000 - U+10FFFF`` can be represented in a string. Python doesn't have a :c:type:`chr` type, and - every characters in the string is represented as a string object - with length ``1``. The built-in function :func:`chr` converts a - character to its codepoint (as an integer); :func:`ord` converts + every character in the string is represented as a string object + with length ``1``. The built-in function :func:`ord` converts a + character to its codepoint (as an integer); :func:`chr` converts an integer in range ``0 - 10FFFF`` to the corresponding character. :meth:`str.encode` can be used to convert a :class:`str` to :class:`bytes` using the given encoding, and :meth:`bytes.decode` can |