[docs] Could the difference between a function and a macro be stressed in Python C API documentation?

drekin drekin at gmail.com
Mon Aug 4 12:09:09 CEST 2014


Could the difference between a function and a macro be stressed in Python C
API documentation? I wanted to call PyObject_CheckBuffer via ctypes, but
ctypes.pythonapi.PyObject_CheckBuffer raised AttributeError. It took me
some time to find out that it's because PyObject_CheckBuffer is a macro.

Regards, Drekin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20140804/f47db1e4/attachment.html>


More information about the docs mailing list