PyCall::LibPython
Constants
METH_VARARGS = 1
OP_EQ = 2
OP_GE = 5
OP_GT = 4
OP_LE = 1
OP_LT = 0
Боги rich-compare из CPython (object.h).
OP_NE = 3
Class methods
call_object(f : Pointer(LibPy::PyObjectT), args, kwargs : Pointer(LibPy::PyObjectT) | Nil = nil) : Pointer(LibPy::PyObjectT)
SourceВызывается под взятым GIL; null-результат с выставленной ошибкой → PyError.
none
Sourcepy_bool_type
Sourcepy_dict_type
Sourcepy_false
Sourcepy_float_type
Sourcepy_list_type
Sourcepy_long_type
Sourcepy_set_type
Sourcepy_true
Sourcepy_tuple_type
Sourcepy_type_type
Sourcepy_unicode_type
Source