Kaydet (Commit) fc818549 authored tarafından Florian Apolloner's avatar Florian Apolloner

Merge pull request #311 from gutworth/py3-doc

Indexing bytes is the problem not slicing.
......@@ -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
~~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment