Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r2066:3ae7032ca87d Date: 2015-05-20 17:46 +0200 http://bitbucket.org/cffi/cffi/changeset/3ae7032ca87d/
Log: clarify diff --git a/doc/source/cdef.rst b/doc/source/cdef.rst --- a/doc/source/cdef.rst +++ b/doc/source/cdef.rst @@ -131,8 +131,8 @@ underscore-prefixed internal attributes of the Python version). Similarly, the ``lib`` objects returned by the C version are read-only, apart from writes to global variables. Also, ``lib.__dict__`` no -longer works (unless your C library has a function called ``__dict__()``, -that is), but you can use ``dir(lib)``. +longer works (it now tries to look up a hypothetical symbol +``__dict__`` from the C library); use instead ``dir(lib)``. ffi.cdef(): declaring types and functions _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit