Mercurial > kallithea
diff README.rst @ 6515:884d2c246570
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.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Mon, 20 Feb 2017 19:21:34 +0100 |
parents | 0b6d2ca7175f |
children | d5eaa70e0f2a |