mirror of
https://github.com/python/cpython
synced 2024-07-21 18:25:47 +00:00
Fix name problem in previous checkin: Dict not List
This commit is contained in:
parent
e99990f9e1
commit
87c1afa057
|
@ -87,7 +87,7 @@ struct _dictobject {
|
|||
PyAPI_DATA(PyTypeObject) 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_GetItem(PyObject *mp, PyObject *key);
|
||||
|
|
Loading…
Reference in a new issue