diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-10 15:50:56 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-10 15:50:56 +0000 |
commit | 0ded5b54bb499865fb4ab8c0ac3d0977df9a334d (patch) | |
tree | a395f726d50a71b1bf363d5a041224ad51e80691 /Include/stringobject.h | |
parent | 110194048e2d6a42f5954c39c8646ba93b66a7e1 (diff) | |
download | cpython-git-0ded5b54bb499865fb4ab8c0ac3d0977df9a334d.tar.gz |
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/stringobject.h')
-rw-r--r-- | Include/stringobject.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/stringobject.h b/Include/stringobject.h index 184bcdd334..6a635768f6 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*); |