PyUnicode_CompareWithASCIIString

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

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

Parameters

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

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

Meta