diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-09-01 16:32:31 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-09-01 16:32:31 -0400 |
commit | ba7060455b47c03ab37b2d116459a1bd1e960314 (patch) | |
tree | 6aef134de9d5b7ce8ad318d0c6a4fb2d98990841 /Include/descrobject.h | |
parent | cb88ee12bf12ffe752c0c314f181a231f5d07e9c (diff) | |
download | cpython-ba7060455b47c03ab37b2d116459a1bd1e960314.tar.gz |
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 f715fe1160..646b3cca4e 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 *); |