Rename "dictionary" (type and constructor) to "dict".

This commit is contained in:
Tim Peters 2001-10-29 22:25:45 +00:00
parent 7ad2d1eb8e
commit a427a2b8d0
10 changed files with 66 additions and 63 deletions

View file

@ -2484,7 +2484,7 @@ tp_new_wrapper(PyObject *self, PyObject *args, PyObject *kwds)
}
/* Check that the use doesn't do something silly and unsafe like
object.__new__(dictionary). To do this, we check that the
object.__new__(dict). To do this, we check that the
most derived base that's not a heap type is this type. */
staticbase = subtype;
while (staticbase && (staticbase->tp_flags & Py_TPFLAGS_HEAPTYPE))