summaryrefslogtreecommitdiff
path: root/tests/Krange
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-11-06 11:16:28 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-11-06 11:48:42 +0100
commit7992519be5d59a69dc71f43ec2f34c5594afdb14 (patch)
tree04b7448bc49a63a3d86703edf9a34e1f4dbe22a5 /tests/Krange
parent9c9f0c884366ff1f0acc00e430f0eeb1b4391658 (diff)
Always strip trailing whitespace in 'MenuNode.help' and __str__()
Previously, you could get either one or two newlines at the end of MenuNode.help and the various __str__() methods, though this wasn't documented. Always stripping trailing whitespace is cleaner e.g. when using print(), which automatically appends a trailing newline, and makes things consistent. Hopefully nothing relied on the old undocumented behavior. It's fine for genrest.py at least.
Diffstat (limited to 'tests/Krange')
0 files changed, 0 insertions, 0 deletions