picop.cycall#

CPython call helpers requiring an attached thread state.

picop.cycall.call_noargs(callable)#

Call callable without constructing an argument tuple.

Parameters:

callable (object)

Return type:

object

picop.cycall.call_onearg(callable, arg)#

Call callable(arg) without constructing an argument tuple.

Parameters:
Return type:

object

picop.cycall.call_twoargs(callable, arg0, arg1)#

Call callable(arg0, arg1) through the vectorcall protocol.

Parameters:
Return type:

object