Commits

Georg Brandl committed ce56c5e

That one was a mistake.

  • Participants
  • Parent commits 5e1b6f5
  • Branches legacy-trunk

Comments (0)

Files changed (1)

Objects/unicodeobject.c

     /* Order is according to common usage: often used methods should
        appear first, since lookup is done sequentially. */
 
-    {"encode",  unicode_encode, METH_VARARGS, encode__doc__},
+    {"encode", (PyCFunction) unicode_encode, METH_VARARGS, encode__doc__},
     {"replace", (PyCFunction) unicode_replace, METH_VARARGS, replace__doc__},
     {"split", (PyCFunction) unicode_split, METH_VARARGS, split__doc__},
     {"rsplit", (PyCFunction) unicode_rsplit, METH_VARARGS, rsplit__doc__},