[Python-checkins] r43456 - python/trunk/Objects/unicodeobject.c

georg.brandl python-checkins at python.org
Thu Mar 30 14:19:11 CEST 2006


Author: georg.brandl
Date: Thu Mar 30 14:19:07 2006
New Revision: 43456

Modified:
   python/trunk/Objects/unicodeobject.c
Log:
That one was a mistake.



Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c	(original)
+++ python/trunk/Objects/unicodeobject.c	Thu Mar 30 14:19:07 2006
@@ -6380,7 +6380,7 @@
     /* 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__},


More information about the Python-checkins mailing list