Returns underlying file descriptor (an int) if one exists. An OSError is raised if the IO object does not use a file descriptor.
(self)
| 521 | # XXX Should these be present even if unimplemented? |
| 522 | |
| 523 | def fileno(self): |
| 524 | """Returns underlying file descriptor (an int) if one exists. |
| 525 | |
| 526 | An OSError is raised if the IO object does not use a file descriptor. |
| 527 | """ |
| 528 | self._unsupported("fileno") |
| 529 | |
| 530 | def isatty(self): |
| 531 | """Return a bool indicating whether this is an 'interactive' stream. |
no test coverage detected