gramps/src/plugins/docgen
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
..
AsciiDoc.py Better output of pre- and unformatted notes and of end notes references. 2010-01-19 12:47:17 +00:00
docgen.gpr.py Fixed svn Id property 2009-12-21 13:43:50 +00:00
gtkprint.glade Bug 2888: downgrade the glade files in tools to gtk version 2.12 2009-05-18 15:36:03 +00:00
GtkPrint.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
HtmlDoc.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
LaTeXDoc.py Tweaks and minor refactoring 2010-01-18 20:14:59 +00:00
Makefile.am 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014 2009-10-24 13:53:20 +00:00
ODFDoc.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
PdfDoc.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
PSDrawDoc.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
RTFDoc.py Use built-in functions to replace for loops: 2010-01-25 17:45:21 +00:00
SvgDrawDoc.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