FILE object in Python3.0 extension modules

Benjamin Peterson benjamin at python.org
Sat May 30 04:24:32 CEST 2009


Gabriel Genellina <gagsl-py2 <at> yahoo.com.ar> writes:
> But you have to import the io module first, don't you? That's not usually  
> necesary for most built in types -- e.g. PyFloat_Check just checks for a  
> float object.

Well, in 3.x, file is not longer a builtin type.







More information about the Python-list mailing list