Reordered list of methods to hopefully put the most frequently used

ones near the front.
This commit is contained in:
Guido van Rossum 1997-07-13 03:58:01 +00:00
parent 74ba24758e
commit 5d8123f34a
2 changed files with 7 additions and 7 deletions

View file

@ -963,13 +963,13 @@ dict_clear(mp, args)
}
static PyMethodDef mapp_methods[] = {
{"has_key", (PyCFunction)dict_has_key},
{"keys", (PyCFunction)dict_keys},
{"items", (PyCFunction)dict_items},
{"values", (PyCFunction)dict_values},
{"update", (PyCFunction)dict_update},
{"clear", (PyCFunction)dict_clear},
{"copy", (PyCFunction)dict_copy},
{"has_key", (PyCFunction)dict_has_key},
{"items", (PyCFunction)dict_items},
{"keys", (PyCFunction)dict_keys},
{"values", (PyCFunction)dict_values},
{NULL, NULL} /* sentinel */
};