File Objects

Python’s built-in file objects are implemented entirely on the :ctype:`FILE\*` support from the C standard library. This is an implementation detail and may change in future releases of Python. The PyFile_ APIs are a wrapper over the io module.