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.