diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-08-28 20:46:42 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-08-28 20:46:42 -0400 |
| commit | c87b08d2a12180203e6f278a9de8a2f5d5e8982f (patch) | |
| tree | 534d3201dcfa4413a2b587524dea020ee4e8ac48 /docs/topics/python3.txt | |
| parent | 9eafb6592e9ed27a59cb3cd9920c44cf230a6c65 (diff) | |
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 ~~~~~~~~~~ |
