PyUnicodeUCS2_Count

Count the number of occurrences of substr in str[start:end].

  1. Py_ssize_t PyUnicodeUCS2_Count(PyObject* str, PyObject* substr, Py_ssize_t start, Py_ssize_t end)
    version(Python_Unicode_UCS2)
    PyUnicodeUCS2_Count
  2. alias PyUnicode_Count = PyUnicodeUCS2_Count

Meta