[pypy-commit] cffi default: improve comment

arigo pypy.commits at gmail.com
Fri Jul 19 16:46:22 EDT 2019


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r3282:158f2ff652b7
Date: 2019-07-19 22:45 +0200
http://bitbucket.org/cffi/cffi/changeset/158f2ff652b7/

Log:	improve comment

diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -8,7 +8,7 @@
 
 * ``ffi.from_buffer("type *", ..)`` is now supported, in addition to
   ``"type[]"``.  You can then write ``p.field`` to access the items, instead
-  of ``p[0].field``.  Be careful that no bounds checking is performed, so
+  of only ``p[0].field``.  Be careful that no bounds checking is performed, so
   ``p[n]`` might access data out of bounds.
 
 * fix for structs containing unnamed bitfields like ``int : 1;``.


More information about the pypy-commit mailing list