From: Alexandre Vassalotti Date: Sun, 1 Jun 2008 03:53:03 +0000 (+0000) Subject: Added missing prototype for PyDict_GetItemWithError(). X-Git-Tag: v3.0b1~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb314333fda707fd88428aa5019f89230beb1f45;p=thirdparty%2FPython%2Fcpython.git Added missing prototype for PyDict_GetItemWithError(). --- diff --git a/Include/dictobject.h b/Include/dictobject.h index 76fc75b6bbda..3d9d5e125615 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -109,6 +109,7 @@ PyAPI_DATA(PyTypeObject) PyDictValues_Type; PyAPI_FUNC(PyObject *) PyDict_New(void); PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key); +PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key); PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item); PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key); PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);