(self, size=None)
| 299 | sys.exit(e.args[0]) |
| 300 | |
| 301 | def readline(self, size=None): |
| 302 | res = b"" |
| 303 | ch = b"" |
| 304 | while ch != ConfigArgs.EOL: |
| 305 | ch = self.getc_raw(1, timeout=0.1) |
| 306 | if ch == b"": |
| 307 | return res |
| 308 | res += ch |
| 309 | return res |
| 310 | |
| 311 | def getc_raw(self, size, timeout=1): |
| 312 | res = b"" |
no test coverage detected