mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix up incomplete sentence
This commit is contained in:
parent
b17544551f
commit
5040fee5c1
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ abstract type called ``basestring``, which is also an ancestor of the
|
|||
``str`` type; you can therefore check if a value is a string type with
|
||||
``isinstance(value, basestring)``. Under the hood, Python represents
|
||||
Unicode strings as either 16- or 32-bit integers, depending on how the
|
||||
Python interpreter was compiled, but this
|
||||
Python interpreter was compiled.
|
||||
|
||||
The ``unicode()`` constructor has the signature ``unicode(string[, encoding, errors])``.
|
||||
All of its arguments should be 8-bit strings. The first argument is converted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue