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_3_Or_Later && Python_3_0_Or_Later)
    extern (C)
    int
    PyUnicode_CompareWithASCIIString
    (,
    const(char)* right
    )
  2. alias PyUnicode_CompareWithASCIIString = PyUnicodeUCS2_CompareWithASCIIString
  3. alias PyUnicode_CompareWithASCIIString = PyUnicodeUCS4_CompareWithASCIIString

Parameters

left PyObject*
right const(char)*

ASCII-encoded string Availability: 3.*

Meta