diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-16 13:56:27 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-16 13:56:27 (GMT) |
commit | dddec81b2d0f0df7e91f2cafc3c2e4121cb6c1d6 (patch) | |
tree | a38a5f8bf523dcf4045bd62eea5da3937c10110b /Include/unicodeobject.h | |
parent | fab6acd9f58584d2f4b361418e4d17f9c23db2f9 (diff) | |
download | cpython-dddec81b2d0f0df7e91f2cafc3c2e4121cb6c1d6.zip cpython-dddec81b2d0f0df7e91f2cafc3c2e4121cb6c1d6.tar.gz cpython-dddec81b2d0f0df7e91f2cafc3c2e4121cb6c1d6.tar.bz2 |
Issue #21449: Removed private function _PyUnicode_CompareWithId.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index f8f98bd..67c4422 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2037,15 +2037,6 @@ PyAPI_FUNC(int) PyUnicode_Compare( ); #ifndef Py_LIMITED_API -/* Compare a string with an identifier and return -1, 0, 1 for less than, - equal, and greater than, respectively. - Raise an exception and return -1 on error. */ - -PyAPI_FUNC(int) _PyUnicode_CompareWithId( - PyObject *left, /* Left string */ - _Py_Identifier *right /* Right identifier */ - ); - /* Test whether a unicode is equal to ASCII identifier. Return 1 if true, 0 otherwise. Return 0 if any argument contains non-ASCII characters. Any error occurs inside will be cleared before return. */ |