Home
last modified time | relevance | path

Searched refs:PyCallable_Check (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Doc/includes/
Drun-func.c27 if (pFunc && PyCallable_Check(pFunc)) { in main()
/third_party/python/Objects/
Dclassobject.c220 if (!PyCallable_Check(func)) { in method_new()
562 if (!PyCallable_Check(func)) { in instancemethod_new()
Dweakrefobject.c901 if (PyCallable_Check(ob)) { in PyWeakref_NewProxy()
Dcall.c550 if (!PyCallable_Check(callable)) { in callmethod()
/third_party/python/Modules/_ssl/
Ddebughelpers.c104 if (!PyCallable_Check(arg)) { in _PySSLContext_set_msg_callback()
/third_party/python/Modules/
D_functoolsmodule.c88 if (!PyCallable_Check(func)) { in partial_new()
287 assert(PyCallable_Check(pto->fn)); in partial_call()
425 !PyCallable_Check(fn) || in partial_setstate()
1173 if (!PyCallable_Check(func)) { in lru_cache_new()
Datexitmodule.c147 if (!PyCallable_Check(func)) { in atexit_register()
D_tkinter.c2532 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createcommand_impl()
2723 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createfilehandler_impl()
2890 if (!PyCallable_Check(func)) { in _tkinter_tkapp_createtimerhandler_impl()
Dreadline.c402 else if (PyCallable_Check(function)) { in set_hook()
D_sre.c1062 if (PyCallable_Check(ptemplate)) { in pattern_subx()
1095 filter_is_callable = PyCallable_Check(filter); in pattern_subx()
Dsignalmodule.c534 else if (!PyCallable_Check(handler)) { in signal_signal_impl()
D_pickle.c328 if (!PyCallable_Check(st->codecs_encode)) { in _Pickle_InitState()
3965 if (!PyCallable_Check(callable)) { in save_reduce()
3999 else if (!PyCallable_Check(state_setter)) { in save_reduce()
5042 if (!PyCallable_Check(value)) { in Pickler_set_persid()
7571 if (!PyCallable_Check(value)) { in Unpickler_set_persload()
D_threadmodule.c1122 if (!PyCallable_Check(func)) { in thread_PyThread_start_new_thread()
/third_party/python/Include/cpython/
Dabstract.h73 assert(PyCallable_Check(callable)); in PyVectorcall_Function()
/third_party/python/Include/
Dobject.h287 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
/third_party/python/Python/
Dcodecs.c43 if (!PyCallable_Check(search_function)) { in PyCodec_Register()
627 if (!PyCallable_Check(error)) { in PyCodec_RegisterError()
Dbltinmodule.c466 return PyBool_FromLong((long)PyCallable_Check(obj)); in builtin_callable()
1582 if (!PyCallable_Check(v)) { in builtin_iter()
Dsysmodule.c1286 if (!PyCallable_Check(finalizer)) { in sys_set_asyncgen_hooks()
1301 if (!PyCallable_Check(firstiter)) { in sys_set_asyncgen_hooks()
D_warnings.c574 if (!PyCallable_Check(show_fn)) { in call_show_warning()
/third_party/python/Modules/_sqlite/
Dconnection.c1693 if (progress != Py_None && !PyCallable_Check(progress)) { in pysqlite_connection_backup_impl()
1809 if (callable != Py_None && !PyCallable_Check(callable)) { in pysqlite_connection_create_collation_impl()
/third_party/python/Modules/_ctypes/
D_ctypes.c2506 if (ob != Py_None && !PyType_stgdict(ob) && !PyCallable_Check(ob)) { in make_funcptrtype_dict()
3254 if (ob && !PyCallable_Check(ob)) { in PyCFuncPtr_set_errcheck()
3286 if (ob != Py_None && !PyType_stgdict(ob) && !PyCallable_Check(ob)) { in PyCFuncPtr_set_restype()
3737 if (!PyCallable_Check(callable)) { in PyCFuncPtr_new()
/third_party/python/Doc/data/
Dstable_abi.dat47 function,PyCallable_Check,3.2,
/third_party/python/PC/
Dpython3dll.c120 EXPORT_FUNC(PyCallable_Check)
/third_party/python/Doc/extending/
Dembedding.rst186 if (pFunc && PyCallable_Check(pFunc)) {
/third_party/python/Doc/c-api/
Dcall.rst421 .. c:function:: int PyCallable_Check(PyObject *o)

12