Returns true if the last line was read from sys.stdin, otherwise returns false.
()
| 160 | return _state.isfirstline() |
| 161 | |
| 162 | def isstdin(): |
| 163 | """ |
| 164 | Returns true if the last line was read from sys.stdin, |
| 165 | otherwise returns false. |
| 166 | """ |
| 167 | if not _state: |
| 168 | raise RuntimeError("no active input()") |
| 169 | return _state.isstdin() |
| 170 | |
| 171 | class FileInput: |
| 172 | """FileInput([files[, inplace[, backup]]], *, mode=None, openhook=None) |
nothing calls this directly
no test coverage detected
searching dependent graphs…