PyUnicode_Tailmatch

Return 1 if substr matches str[start:end] at the given tail end, 0 otherwise.

  1. Py_ssize_t PyUnicode_Tailmatch(PyObject* str, PyObject* substr, Py_ssize_t start, Py_ssize_t end, int direction)
  2. alias PyUnicode_Tailmatch = PyUnicodeUCS2_Tailmatch
  3. alias PyUnicode_Tailmatch = PyUnicodeUCS4_Tailmatch
    version(!Python_3_3_Or_Later && !Python_Unicode_UCS2)
    extern (C)
    alias PyUnicode_Tailmatch = PyUnicodeUCS4_Tailmatch

Meta