diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-19 17:38:40 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-19 18:36:16 +0100 |
| commit | c800f70f4b3e96f1e6e19bc3ddcf9f0353721b7b (patch) | |
| tree | 5549d7fd2b308dc5809b2c02133e6216d4f1eaec /tests/Krange | |
| parent | 112a6b18384a41d072feade69f5f6594a21998f8 (diff) | |
Simplify _deindent()
Old code. Can't remember why it kept lines shorter than the indent as-is
instead of clearing them, but it's pointless for help texts, which is
the only place where _deindent() is used. s[n:] is safe even if
n >= len(s).
Help text parsing is pretty hot code too, so every bit helps.
Diffstat (limited to 'tests/Krange')
0 files changed, 0 insertions, 0 deletions
