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)
  2. alias PyUnicode_Compare = PyUnicodeUCS2_Compare
    version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
    extern (C)
    alias PyUnicode_Compare = PyUnicodeUCS2_Compare
  3. alias PyUnicode_Compare = PyUnicodeUCS4_Compare

Meta