[Python-checkins] cpython (3.3): Clarify sentence.
georg.brandl
python-checkins at python.org
Tue Oct 29 08:18:52 CET 2013
http://hg.python.org/cpython/rev/321b665d8c3c
changeset: 86730:321b665d8c3c
branch: 3.3
user: Georg Brandl <georg at python.org>
date: Tue Oct 29 08:16:56 2013 +0100
summary:
Clarify sentence.
files:
Doc/howto/unicode.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst
--- a/Doc/howto/unicode.rst
+++ b/Doc/howto/unicode.rst
@@ -514,7 +514,7 @@
Unicode data is usually converted to a particular encoding before it gets
written to disk or sent over a socket. It's possible to do all the work
-yourself: open a file, read an 8-bit bytes object from it, and convert the string
+yourself: open a file, read an 8-bit bytes object from it, and convert the bytes
with ``bytes.decode(encoding)``. However, the manual approach is not recommended.
One problem is the multi-byte nature of encodings; one Unicode character can be
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list