Return True if line is empty or all whitespace.
(line)
| 176 | return '\n'.join(comment_header+line for line in newdata) + block_suffix |
| 177 | |
| 178 | def is_all_white(line): |
| 179 | """Return True if line is empty or all whitespace.""" |
| 180 | |
| 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.""" |
no test coverage detected
searching dependent graphs…