Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r2896:d9575530d274 Date: 2017-03-07 14:20 +0100 http://bitbucket.org/cffi/cffi/changeset/d9575530d274/
Log: typo diff --git a/doc/source/ref.rst b/doc/source/ref.rst --- a/doc/source/ref.rst +++ b/doc/source/ref.rst @@ -452,7 +452,7 @@ ... # the actual callback is this one-liner global function: - @ffi.def_extern + @ffi.def_extern() def my_callback(arg1, arg2, data): return ffi.from_handle(data).callback(arg1, arg2) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit