diff Include/stringobject.h @ 44252:444da08f78a4

Fixed issue #1564: The set implementation should special-case PyUnicode instead of PyString I moved the unicode_eq to stringlib/eq.h to keep the function static and possible inline for setobject.c and dictobject.h. I also removed the unused _PyString_Eq method. If it's required in the future it can be added to eq.h
author Christian Heimes <christian@cheimes.de>
date Mon, 10 Dec 2007 15:50:56 +0000
parents 0cc552ab76bd
children 86a2679dca46
line wrap: on
line diff
--- a/Include/stringobject.h	Sun Dec 09 23:05:36 2007 +0000
+++ b/Include/stringobject.h	Mon Dec 10 15:50:56 2007 +0000
@@ -58,7 +58,6 @@
 PyAPI_FUNC(void) PyString_Concat(PyObject **, PyObject *);
 PyAPI_FUNC(void) PyString_ConcatAndDel(PyObject **, PyObject *);
 PyAPI_FUNC(int) _PyString_Resize(PyObject **, Py_ssize_t);
-PyAPI_FUNC(int) _PyString_Eq(PyObject *, PyObject*);
 PyAPI_FUNC(PyObject *) PyString_Format(PyObject *, PyObject *);
 PyAPI_FUNC(PyObject *) _PyString_FormatLong(PyObject*, int, int,
 						  int, char**, int*);