Reordered list of methods to hopefully put the most frequently used
ones near the front.
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 @@
}
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 */
};