Returns the indent in given line (as string).
(line: str)
| 57 | |
| 58 | |
| 59 | def get_indent(line: str) -> str: |
| 60 | """Returns the indent in given line (as string).""" |
| 61 | search = _re_indent.search(line) |
| 62 | return "" if search is None else search.groups()[0] |
| 63 | |
| 64 | |
| 65 | def split_code_in_indented_blocks( |
no outgoing calls
no test coverage detected