Extract the beginning whitespace and first word from codeline.
(codeline, c=re.compile(r"^(\s*)(\w*)"))
| 24 | |
| 25 | |
| 26 | def get_spaces_firstword(codeline, c=re.compile(r"^(\s*)(\w*)")): |
| 27 | "Extract the beginning whitespace and first word from codeline." |
| 28 | return c.match(codeline).groups() |
| 29 | |
| 30 | |
| 31 | def get_line_info(codeline): |
no test coverage detected
searching dependent graphs…