diff options
author | Guido van Rossum <guido@python.org> | 1997-07-13 03:58:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-13 03:58:01 (GMT) |
commit | 5d8123f34af77b988f7dcefd8cef4423879444d8 (patch) | |
tree | 5dbb0ccc1c4a447a58048ff4116a106a73bbe0e4 /Objects/dictobject.c | |
parent | 74ba24758e4d4b8f0a0dcd5451daee42fe4dc0c3 (diff) | |
download | cpython-5d8123f34af77b988f7dcefd8cef4423879444d8.zip cpython-5d8123f34af77b988f7dcefd8cef4423879444d8.tar.gz cpython-5d8123f34af77b988f7dcefd8cef4423879444d8.tar.bz2 |
Reordered list of methods to hopefully put the most frequently used
ones near the front.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 43d962c..018762b 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -963,13 +963,13 @@ dict_clear(mp, args) } static PyMethodDef mapp_methods[] = { - {"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}, + {"items", (PyCFunction)dict_items}, {"values", (PyCFunction)dict_values}, + {"update", (PyCFunction)dict_update}, + {"clear", (PyCFunction)dict_clear}, + {"copy", (PyCFunction)dict_copy}, {NULL, NULL} /* sentinel */ }; |