Skip to main content

Module methodobject

Module methodobject 

Source

Structs§

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

Constants§

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

Statics§

PyCFunction_Type

Functions§

PyCFunction_CheckPy_3_9
PyCFunction_CheckExactPy_3_9
PyCFunction_GetFlags
PyCFunction_GetFunction
PyCFunction_GetSelf
PyCFunction_NewPy_3_9
PyCFunction_NewExPy_3_9
PyCMethod_New

Type Aliases§

PyCFunction
PyCFunctionFastPy_3_10 or non-Py_LIMITED_API
PyCFunctionFastWithKeywordsPy_3_10 or non-Py_LIMITED_API
PyCFunctionWithKeywords
PyCMethodPy_3_9 and non-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