PyUnicodeUCS2_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 PyUnicodeUCS2_Contains(PyObject* container, PyObject* element)
    version(Python_Unicode_UCS2)
    int
    PyUnicodeUCS2_Contains
  2. alias PyUnicode_Contains = PyUnicodeUCS2_Contains

Meta