gramps/src/Filters/SideBar
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-24 Raphael Ackermann <raphael.ackermann@gmail.com> 2008-01-24 20:38:10 +00:00
_EventSidebarFilter.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
_FamilySidebarFilter.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
_MediaSidebarFilter.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
_NoteSidebarFilter.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
_PersonSidebarFilter.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
_PlaceSidebarFilter.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
_RepoSidebarFilter.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
_SidebarFilter.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
_SourceSidebarFilter.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
Makefile.am * src/Filters/_GenericFilter.py: Add GenericNoteFilter 2007-02-24 19:16:50 +00:00