PyUnicode_Compare

Compare two strings and return -1, 0, 1 for less than, equal, greater than resp.

  1. int PyUnicode_Compare(PyObject* left, PyObject* right)
    version(Python_3_3_Or_Later)
    int
    PyUnicode_Compare
  2. alias PyUnicode_Compare = PyUnicodeUCS2_Compare
  3. alias PyUnicode_Compare = PyUnicodeUCS4_Compare

Meta