Mercurial > kallithea
diff docs/dev/dbmigrations.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 | 9fd64dd2617d |
children | 2c3d30095d5e |