Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 37306:ce56c5e3cb20 legacy-trunk
That one was a mistake.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 30 Mar 2006 12:19:07 +0000 |
| parents | 79a0f080f898 |
| children | 1b078493d538 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Thu Mar 30 11:58:57 2006 +0000 +++ b/Objects/unicodeobject.c Thu Mar 30 12:19:07 2006 +0000 @@ -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__},
