PyUnicodeUCS2_CompareWithASCIIString

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

  1. int PyUnicodeUCS2_CompareWithASCIIString(PyObject* left, const(char)* right)
    version(Python_3_0_Or_Later)
    int
    PyUnicodeUCS2_CompareWithASCIIString
    (
    ,
    const(char)* right
    )
  2. alias PyUnicode_CompareWithASCIIString = PyUnicodeUCS2_CompareWithASCIIString

Parameters

left
Type: PyObject*
right
Type: const(char)*

ASCII-encoded string */ /// Availability: 3.

Meta