Gerald Britton
8f0582df8a
Use built-in functions to replace for loops:
...
Old code:
for x in y:
f(x)
New Code:
map(f, y)
Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.
svn: r14135
2010-01-25 17:45:21 +00:00
..
2010-01-24 16:19:55 +00:00
2009-11-17 20:14:53 +00:00
2010-01-21 18:42:53 +00:00
2010-01-18 04:42:17 +00:00
2010-01-25 17:45:21 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-09 19:39:43 +00:00
2010-01-25 17:45:21 +00:00
2010-01-18 04:42:17 +00:00
2010-01-21 18:42:53 +00:00
2010-01-09 19:39:43 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2009-10-24 13:53:20 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2009-11-17 20:14:53 +00:00
2010-01-21 18:42:53 +00:00
2010-01-25 17:45:21 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-21 18:42:53 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-18 04:42:17 +00:00
2010-01-12 13:01:22 +00:00
2010-01-21 18:42:53 +00:00