mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Patch #424335: Implement string_richcompare, remove string_compare.
Use new _PyString_Eq in lookdict_string.
This commit is contained in:
parent
f8a548c23c
commit
cd35306a25
3 changed files with 82 additions and 17 deletions
|
|
@ -58,6 +58,7 @@ extern DL_IMPORT(char *) PyString_AsString(PyObject *);
|
|||
extern DL_IMPORT(void) PyString_Concat(PyObject **, PyObject *);
|
||||
extern DL_IMPORT(void) PyString_ConcatAndDel(PyObject **, PyObject *);
|
||||
extern DL_IMPORT(int) _PyString_Resize(PyObject **, int);
|
||||
extern DL_IMPORT(int) _PyString_Eq(PyObject *, PyObject*);
|
||||
extern DL_IMPORT(PyObject *) PyString_Format(PyObject *, PyObject *);
|
||||
extern DL_IMPORT(PyObject *) _PyString_FormatLong(PyObject*, int, int,
|
||||
int, char**, int*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue