summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Apolloner <apollo13@apolloner.eu>2012-08-31 04:56:42 -0700
committerFlorian Apolloner <apollo13@apolloner.eu>2012-08-31 04:56:42 -0700
commitfc8185493408c8d444ee223d1bc5e7175b01181d (patch)
tree80b76a99989decaa9a510df8e10e9ab72dbe5580
parentd05eee0119b4ecc416db270e821ebb56c92c2614 (diff)
parentc87b08d2a12180203e6f278a9de8a2f5d5e8982f (diff)
Merge pull request #311 from gutworth/py3-doc
Indexing bytes is the problem not slicing.
-rw-r--r--docs/topics/python3.txt4
1 files 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
~~~~~~~~~~