[docs] Could the difference between a function and a macro be stressed in Python C API documentation?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs