Mercurial > hg
comparison tests/printenv.py @ 20119:1648e44edd8d
mq: prefer a loop to a double-for list comprehension
The [x for y in l for x in y] syntax is nigh-incomprehensible, and this
is a particularly easy case to expand into a loop since there's no 'if'
condition in the list comprehension.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sun, 24 Nov 2013 17:29:10 -0600 |
parents | e7fdfc702d9f |
children | a372f7b4463b |
comparison
equal
deleted
inserted
replaced
20118:6ed9141151bf | 20119:1648e44edd8d |
---|