Return the initial space or tab indent of line.
(line)
| 181 | return re.match(r"^\s*$", line) is not None |
| 182 | |
| 183 | def get_indent(line): |
| 184 | """Return the initial space or tab indent of line.""" |
| 185 | return re.match(r"^([ \t]*)", line).group() |
| 186 | |
| 187 | def get_comment_header(line): |
| 188 | """Return string with leading whitespace and '#' from line or ''. |
no test coverage detected
searching dependent graphs…