Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d2684 commit d0d366bCopy full SHA for d0d366b
1 file changed
Include/unicodeobject.h
@@ -683,6 +683,17 @@ extern DL_IMPORT(PyObject *) PyUnicode_Format(
683
PyObject *args /* Argument tuple or dictionary */
684
);
685
686
+/* Checks whether element is contained in container and return 1/0
687
+ accordingly.
688
+
689
+ element has to coerce to an one element Unicode string. -1 is
690
+ returned in case of an error. */
691
692
+extern DL_IMPORT(int) PyUnicode_Contains(
693
+ PyObject *container, /* Container string */
694
+ PyObject *element /* Element string */
695
+ );
696
697
/* === Characters Type APIs =============================================== */
698
699
/* These should not be used directly. Use the Py_UNICODE_IS* and
0 commit comments