summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-10 15:50:56 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-10 15:50:56 (GMT)
commit0ded5b54bb499865fb4ab8c0ac3d0977df9a334d (patch)
treea395f726d50a71b1bf363d5a041224ad51e80691 /Include
parent110194048e2d6a42f5954c39c8646ba93b66a7e1 (diff)
downloadcpython-0ded5b54bb499865fb4ab8c0ac3d0977df9a334d.zip
cpython-0ded5b54bb499865fb4ab8c0ac3d0977df9a334d.tar.gz
cpython-0ded5b54bb499865fb4ab8c0ac3d0977df9a334d.tar.bz2
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
Diffstat (limited to 'Include')
-rw-r--r--Include/stringobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/stringobject.h b/Include/stringobject.h
index 184bcdd..6a63576 100644
--- a/Include/stringobject.h
+++ b/Include/stringobject.h
@@ -58,7 +58,6 @@ PyAPI_FUNC(PyObject *) PyString_Repr(PyObject *, int);
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*);