Changeset - 884d2c246570
default
0
4
0
cleanup: use list comprehensions
It's often the same number of lines, but avoids introducing a needless
"result" variable, and makes the item expression stand out more clearly.
It's also a tiny bit faster, but the readability gains is what matters.
It's often the same number of lines, but avoids introducing a needless
"result" variable, and makes the item expression stand out more clearly.
It's also a tiny bit faster, but the readability gains is what matters.
4 files changed with 50 insertions and 54 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)