Commit 87c1afa0 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix name problem in previous checkin: Dict not List

parent e99990f9
...@@ -87,7 +87,7 @@ struct _dictobject { ...@@ -87,7 +87,7 @@ struct _dictobject {
PyAPI_DATA(PyTypeObject) PyDict_Type; PyAPI_DATA(PyTypeObject) PyDict_Type;
#define PyDict_Check(op) PyObject_TypeCheck(op, &PyDict_Type) #define PyDict_Check(op) PyObject_TypeCheck(op, &PyDict_Type)
#define PyList_CheckExact(op) ((op)->ob_type == &PyDict_Type) #define PyDict_CheckExact(op) ((op)->ob_type == &PyDict_Type)
PyAPI_FUNC(PyObject *) PyDict_New(void); PyAPI_FUNC(PyObject *) PyDict_New(void);
PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key); PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment