summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-12-26 17:17:49 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-12-26 17:17:49 (GMT)
commit87c1afa057f795cecf197d9d2ec09e8e097b2601 (patch)
treeecea7ffeab1064e71466efab5d9e9fa455376a5f
parente99990f9e1b63ff10e18ed31359f774376b41968 (diff)
downloadcpython-87c1afa057f795cecf197d9d2ec09e8e097b2601.zip
cpython-87c1afa057f795cecf197d9d2ec09e8e097b2601.tar.gz
cpython-87c1afa057f795cecf197d9d2ec09e8e097b2601.tar.bz2
Fix name problem in previous checkin: Dict not List
-rw-r--r--Include/dictobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index 7fa400a..3da1273 100644
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -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);