Commit 5040fee5 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix up incomplete sentence

parent b1754455
...@@ -246,7 +246,7 @@ abstract type called ``basestring``, which is also an ancestor of the ...@@ -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 ``str`` type; you can therefore check if a value is a string type with
``isinstance(value, basestring)``. Under the hood, Python represents ``isinstance(value, basestring)``. Under the hood, Python represents
Unicode strings as either 16- or 32-bit integers, depending on how the 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])``. The ``unicode()`` constructor has the signature ``unicode(string[, encoding, errors])``.
All of its arguments should be 8-bit strings. The first argument is converted All of its arguments should be 8-bit strings. The first argument is converted
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment