PyUnicode_Contains

Checks whether element is contained in container and return 1/0 accordingly.

element has to coerce to an one element Unicode string. -1 is returned in case of an error.

  1. int PyUnicode_Contains(PyObject* container, PyObject* element)
    version(Python_3_3_Or_Later)
    int
    PyUnicode_Contains
  2. alias PyUnicode_Contains = PyUnicodeUCS2_Contains
  3. alias PyUnicode_Contains = PyUnicodeUCS4_Contains

Meta