summaryrefslogtreecommitdiff
path: root/tests/Klocation
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-19 17:38:40 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-19 18:36:16 +0100
commitc800f70f4b3e96f1e6e19bc3ddcf9f0353721b7b (patch)
tree5549d7fd2b308dc5809b2c02133e6216d4f1eaec /tests/Klocation
parent112a6b18384a41d072feade69f5f6594a21998f8 (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/Klocation')
0 files changed, 0 insertions, 0 deletions