gramps/src/Filters
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
..
Rules Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
SideBar Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
__init__.py 2548: deprecated system_filter.xml 2009-08-20 12:27:29 +00:00
_FilterComboBox.py 2548: deprecated system_filter.xml 2009-08-20 12:27:29 +00:00
_FilterList.py Bug 3018: remove calls to keys() dictionary method where possible 2009-05-22 18:43:40 +00:00
_FilterMenu.py 2548: deprecated system_filter.xml 2009-08-20 12:27:29 +00:00
_FilterParser.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
_FilterStore.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
_GenericFilter.py Bug 0003230: Error while deleting family selected by any filter. 2009-10-06 20:19:56 +00:00
_ParamFilter.py
_SearchBar.py Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time. 2010-01-18 04:42:17 +00:00
_SearchFilter.py
Makefile.am