Functions | |
def | scanner (input, strict) |
Scan the input for invalid characters and construct a line catalog for looking up line numbers from character indexes. More... | |
def apg_py.api.scanner.scanner | ( | input, | |
strict | |||
) |
Scan the input for invalid characters and construct a line catalog for looking up line numbers from character indexes.
input | A tuple of positive integers. Often, but not necessarily, character codes. |
strict | If True, only RFC 5234 line endings allowed (CRLF). |
Definition at line 16 of file scanner.py.