diff options
| author | Florian Apolloner <apollo13@apolloner.eu> | 2012-08-31 04:56:42 -0700 |
|---|---|---|
| committer | Florian Apolloner <apollo13@apolloner.eu> | 2012-08-31 04:56:42 -0700 |
| commit | fc8185493408c8d444ee223d1bc5e7175b01181d (patch) | |
| tree | 80b76a99989decaa9a510df8e10e9ab72dbe5580 /docs/topics/python3.txt | |
| parent | d05eee0119b4ecc416db270e821ebb56c92c2614 (diff) | |
| parent | c87b08d2a12180203e6f278a9de8a2f5d5e8982f (diff) | |
Merge pull request #311 from gutworth/py3-doc
Indexing bytes is the problem not slicing.
Diffstat (limited to 'docs/topics/python3.txt')
| -rw-r--r-- | docs/topics/python3.txt | 4 |
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 ~~~~~~~~~~ |
