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

Aug. 4, 2014
10:09 a.m.
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
3880
Age (days ago)
3880
Last active (days ago)
0 comments
1 participants
participants (1)
-
drekin