DEBSOURCES
Skip Quicknav
sources / cython / 3.1.6%2Bdfsg-2 / docs / examples / tutorial / string / for_char.py
1234567
def iterate_char(): c_string: cython.p_char = "Hello to A C-string's world" c: cython.char for c in c_string[:11]: if c == b'A': print("Found the letter A")