Returns underlying file descriptor (an int) if one exists. An OSError is raised if the IO object does not use a file descriptor.
(self)
| 490 | # XXX Should these be present even if unimplemented? |
| 491 | |
| 492 | def fileno(self): |
| 493 | """Returns underlying file descriptor (an int) if one exists. |
| 494 | |
| 495 | An OSError is raised if the IO object does not use a file descriptor. |
| 496 | """ |
| 497 | self._unsupported("fileno") |
| 498 | |
| 499 | def isatty(self): |
| 500 | """Return a bool indicating whether this is an 'interactive' stream. |
no test coverage detected