Return True if there's something to read on stdin (posix version).
()
| 47 | #----------------------------------------------------------------------------- |
| 48 | |
| 49 | def _stdin_ready_posix(): |
| 50 | """Return True if there's something to read on stdin (posix version).""" |
| 51 | infds, outfds, erfds = select.select([sys.stdin],[],[],0) |
| 52 | return bool(infds) |
| 53 | |
| 54 | def _stdin_ready_nt(): |
| 55 | """Return True if there's something to read on stdin (nt version).""" |
nothing calls this directly
no outgoing calls
no test coverage detected