gramps/src/Merge
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
..
__init__.py 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com> 2008-01-22 09:17:46 +00:00
_MergePerson.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
_MergePlace.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
_MergeSource.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
Makefile.am * src/DataViews/_PersonView.py: Merge module support 2006-05-25 21:02:49 +00:00