cpython ~master (2016-02-02T15:55:08Z)
Dub
Repo
PyDescr_TYPE
deimos
python
descrobject
introduced in python 3, but looks generally useful.
extern (
C
)
PyTypeObject
*
PyDescr_TYPE
(
T
)
(
T
*
x
)
if
(
is
(
T
==
PyDescrObject
) ||
is
(
T
==
PyMethodDescrObject
)
||
is
(
T
==
PyMemberDescrObject
)
||
is
(
T
==
PyGetSetDescrObject
)
||
is
(
T
==
PyWrapperDescrObject
)
)
Meta
Source
See Implementation
deimos
python
descrobject
aliases
getter
setter
wrapperfunc
wrapperfunc_kwds
functions
PyDescr_NAME
PyDescr_NewClassMethod
PyDescr_NewGetSet
PyDescr_NewMember
PyDescr_NewMethod
PyDescr_NewWrapper
PyDescr_TYPE
PyDictProxy_New
PyWrapper_New
manifest constants
PyWrapperFlag_KEYWORDS
structs
PyDescrObject
PyGetSetDef
PyGetSetDescrObject
PyMemberDescrObject
PyMethodDescrObject
PyWrapperDescrObject
wrapperbase
templates
PyDescr_COMMON
introduced in python 3, but looks generally useful.