mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix name problem in previous checkin: Dict not List
This commit is contained in:
parent
e99990f9e1
commit
87c1afa057
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue