Author: Armin Rigo <ar...@tunes.org> Branch: release-1.3 Changeset: r2358:f3e2be21a723 Date: 2015-10-21 13:25 +0200 http://bitbucket.org/cffi/cffi/changeset/f3e2be21a723/
Log: typo diff --git a/doc/source/using.rst b/doc/source/using.rst --- a/doc/source/using.rst +++ b/doc/source/using.rst @@ -686,7 +686,7 @@ Python 2/3 compatibility note: you should avoid using ``str(buf)``, because it gives inconsistent results between Python 2 and Python 3. -This is similar to how ``str()`` gives inconsistent results on regular +(This is similar to how ``str()`` gives inconsistent results on regular byte strings). Use ``buf[:]`` instead. **ffi.from_buffer(python_buffer)**: return a ``<cdata 'char[]'>`` that _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit