diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4fb1aeda356..0ee61c96b38 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7795,10 +7795,6 @@ unicode_getnewargs(PyUnicodeObject *v) static PyMethodDef unicode_methods[] = { - - /* Order is according to common usage: often used methods should - appear first, since lookup is done sequentially. */ - {"encode", (PyCFunction) unicode_encode, METH_VARARGS | METH_KEYWORDS, encode__doc__}, {"replace", (PyCFunction) unicode_replace, METH_VARARGS, replace__doc__}, {"split", (PyCFunction) unicode_split, METH_VARARGS, split__doc__},