()
| 380 | encoding = None |
| 381 | default = 'utf-8' |
| 382 | def read_or_stop(): |
| 383 | try: |
| 384 | return readline() |
| 385 | except StopIteration: |
| 386 | return b'' |
| 387 | |
| 388 | def check(line, encoding): |
| 389 | # Check if the line matches the encoding. |
no outgoing calls
no test coverage detected
searching dependent graphs…