diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-09-01 20:32:31 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-09-01 20:32:31 (GMT) |
commit | eff61f6927c94c82b5fc8f0a266340f1e91a363c (patch) | |
tree | ced3487c4462481dc588ee9aac7592e04b6171ae /Include/descrobject.h | |
parent | a762285831d1591d5c621394f8f6be45688ba33d (diff) | |
download | cpython-eff61f6927c94c82b5fc8f0a266340f1e91a363c.zip cpython-eff61f6927c94c82b5fc8f0a266340f1e91a363c.tar.gz cpython-eff61f6927c94c82b5fc8f0a266340f1e91a363c.tar.bz2 |
make sure to initialize the method wrapper type
Diffstat (limited to 'Include/descrobject.h')
-rw-r--r-- | Include/descrobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/descrobject.h b/Include/descrobject.h index f715fe1..646b3cc 100644 --- a/Include/descrobject.h +++ b/Include/descrobject.h @@ -77,6 +77,7 @@ PyAPI_DATA(PyTypeObject) PyMemberDescr_Type; PyAPI_DATA(PyTypeObject) PyMethodDescr_Type; PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type; PyAPI_DATA(PyTypeObject) PyDictProxy_Type; +PyAPI_DATA(PyTypeObject) _PyMethodWrapper_Type; PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *); PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *); |