mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue #21449: Removed private function _PyUnicode_CompareWithId.
This commit is contained in:
parent
fab6acd9f5
commit
dddec81b2d
2 changed files with 0 additions and 18 deletions
|
@ -11011,15 +11011,6 @@ PyUnicode_Compare(PyObject *left, PyObject *right)
|
|||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
_PyUnicode_CompareWithId(PyObject *left, _Py_Identifier *right)
|
||||
{
|
||||
PyObject *right_str = _PyUnicode_FromId(right); /* borrowed */
|
||||
if (right_str == NULL)
|
||||
return -1;
|
||||
return PyUnicode_Compare(left, right_str);
|
||||
}
|
||||
|
||||
int
|
||||
PyUnicode_CompareWithASCIIString(PyObject* uni, const char* str)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue