summaryrefslogtreecommitdiffstats
path: root/Include/complexobject.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-26 16:21:32 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-26 16:21:32 (GMT)
commitb421b8c19105d08b97122b7c84eec37ad83c6de4 (patch)
tree37e00d4acbdd57916ba418dbd79989c17c741ea7 /Include/complexobject.h
parentef7d08a661dc28c732f4738cb328a74b32ce435b (diff)
downloadcpython-b421b8c19105d08b97122b7c84eec37ad83c6de4.zip
cpython-b421b8c19105d08b97122b7c84eec37ad83c6de4.tar.gz
cpython-b421b8c19105d08b97122b7c84eec37ad83c6de4.tar.bz2
Added two new functions to conveniently call functions/methods from C.
PyObject_CallFunctionObArgs() and PyObject_CallMethodObArgs() have the advantage that no format strings need to be parsed. The CallMethod variant also avoids creating a new string object in order to retrieve a method from an object as well.
Diffstat (limited to 'Include/complexobject.h')
0 files changed, 0 insertions, 0 deletions