From c87b08d2a12180203e6f278a9de8a2f5d5e8982f Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 28 Aug 2012 20:46:42 -0400 Subject: [PATCH] Indexing bytes is the problem not slicing. --- docs/topics/python3.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/python3.txt b/docs/topics/python3.txt index 9b393ffd85..457486caa4 100644 --- a/docs/topics/python3.txt +++ b/docs/topics/python3.txt @@ -237,9 +237,9 @@ sometimes necessary:: value = value.encode('ascii', 'ignore').decode('ascii') -Be cautious if you have to `slice bytestrings`_. +Be cautious if you have to `index bytestrings`_. -.. _slice bytestrings: http://docs.python.org/py3k/howto/pyporting.html#bytes-literals +.. _index bytestrings: http://docs.python.org/py3k/howto/pyporting.html#bytes-literals Exceptions ~~~~~~~~~~