Merge pull request #311 from gutworth/py3-doc

Indexing bytes is the problem not slicing.
This commit is contained in:
Florian Apolloner 2012-08-31 04:56:42 -07:00
commit fc81854934
1 changed files with 2 additions and 2 deletions

View File

@ -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
~~~~~~~~~~