Gabriel Genellina <gagsl-py2 <at> yahoo.com.ar> writes:But you have to import the io module first, don't you? That's not usuallynecesary 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.
Ok, seems the old "file" type has been demoted and atomized... -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list