Skip to main content

Module methodobject

Module methodobject 

Source

Structs§

PyCFunctionObjectNon-GraalPy and non-Py_LIMITED_API
PyMethodDef
Represents the PyMethodDef structure.

Constants§

METH_CLASS
METH_COEXIST
METH_FASTCALLPy_3_10 or non-Py_LIMITED_API
METH_KEYWORDS
METH_METHODNon-Py_LIMITED_API
METH_NOARGS
METH_O
METH_STATIC
METH_VARARGS

Statics§

PyCFunction_Type⚠Non-RustPython

Functions§

PyCFunction_Check⚠Non-RustPython
PyCFunction_CheckExact⚠Non-RustPython
PyCFunction_GetFlags⚠Py_3_12 or non-PyPy
PyCFunction_GetFunction⚠
PyCFunction_GetSelf⚠Py_3_12 or non-PyPy
PyCFunction_New⚠
PyCFunction_NewEx⚠
PyCMethod_New⚠

Type Aliases§

PyCFunction
PyCFunctionFastPy_3_10 or non-Py_LIMITED_API
PyCFunctionFastWithKeywordsPy_3_10 or non-Py_LIMITED_API
PyCFunctionWithKeywords
PyCMethodNon-Py_LIMITED_API
_PyCFunctionFastDeprecatedPy_3_10 or non-Py_LIMITED_API
_PyCFunctionFastWithKeywordsDeprecatedPy_3_10 or non-Py_LIMITED_API

Unions§

PyMethodDefPointer
Function types used to implement Python callables.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here