Return the underlying file descriptor (an integer).
(self)
| 1796 | return self._writable |
| 1797 | |
| 1798 | def fileno(self): |
| 1799 | """Return the underlying file descriptor (an integer).""" |
| 1800 | self._checkClosed() |
| 1801 | return self._fd |
| 1802 | |
| 1803 | def isatty(self): |
| 1804 | """True if the file is connected to a TTY device.""" |