[pypy-commit] cffi default: ffi.string() is "New in version 0.3."
arigo
noreply at buildbot.pypy.org
Sat Aug 4 16:16:57 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r768:3c89c55a0292
Date: 2012-08-04 16:16 +0200
http://bitbucket.org/cffi/cffi/changeset/3c89c55a0292/
Log: ffi.string() is "New in version 0.3."
diff --git a/doc/source/index.rst b/doc/source/index.rst
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -839,7 +839,9 @@
declare and call the ``GetLastError()`` function as usual.
``ffi.string(cdata, [maxlen])``: return a Python string (or unicode
-string) from the 'cdata'.
+string) from the 'cdata'. *New in version 0.3.*
+
+.. "versionadded:: 0.3" --- inlined in the previous paragraph
- If 'cdata' is a pointer or array of characters or bytes, returns the
null-terminated string. The returned string extends until the first
More information about the pypy-commit
mailing list