mirror of
https://github.com/python/cpython
synced 2024-09-16 02:19:59 +00:00
Fix up incomplete sentence
This commit is contained in:
parent
b17544551f
commit
5040fee5c1
|
@ -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…
Reference in a new issue