Skip to main content

Module methodobject

Module methodobject 

Source

Re-exportsยง

use crate::Py_IS_TYPE; ๐Ÿ”’ Non-RustPython
use crate::PyObject_TypeCheck; ๐Ÿ”’ Non-RustPython
use crate::object::PyObject; ๐Ÿ”’
use crate::object::PyTypeObject; ๐Ÿ”’
use core::ffi::c_char; ๐Ÿ”’
use core::ffi::c_int; ๐Ÿ”’
use core::ffi::c_void; ๐Ÿ”’
use core::mem; ๐Ÿ”’
use core::ptr; ๐Ÿ”’

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