DEBSOURCES
Skip Quicknav
sources / cython / 3.0.11%2Bdfsg-2 / docs / examples / tutorial / string / if_char_in.pyx
12345
cpdef void is_in(Py_UCS4 uchar_val): if uchar_val in u'abcABCxY': print("The character is in the string.") else: print("The character is not in the string")