Return the indent size, in spaces, at the start of a line of text.
(line)
| 693 | |
| 694 | # -------------------------------------------------- source code extraction |
| 695 | def indentsize(line): |
| 696 | """Return the indent size, in spaces, at the start of a line of text.""" |
| 697 | expline = line.expandtabs() |
| 698 | return len(expline) - len(expline.lstrip()) |
| 699 | |
| 700 | def _findclass(func): |
| 701 | cls = sys.modules.get(func.__module__) |
no test coverage detected
searching dependent graphs…