Return true if the process has a controlling terminal.
(fh)
| 96 | |
| 97 | |
| 98 | def isatty(fh): |
| 99 | """Return true if the process has a controlling terminal.""" |
| 100 | try: |
| 101 | return fh.isatty() |
| 102 | except AttributeError: |
| 103 | pass |
| 104 | |
| 105 | |
| 106 | def pyimplementation(): |