What should be the variable type of a _io.TextIOWrapper
object as argument for a function in Cython?
e.g.
f = open("myfile.txt","r")
cpdef int myFunction(f):
...
return 0
Something like this?:
cpdef int myFunction(FILE* f):
...
return 0
Thank you.