how do i map this?
Gabriel G
gabrielg_laburando at yahoo.com.ar
Mon Nov 13 00:15:51 EST 2006
At Monday 13/11/2006 01:55, John Machin wrote:
>Ben Finney wrote:
> > "ronrsr" <ronrsr at gmail.com> writes:
> >
> > > #row is a dictionary with keys: zid, keywords, citation, quotation
> > > def print_row(row):
> > > print """<tr>
> > > [...]
> > > """
> >
> > You're printing a string, and never using that 'row' parameter.
>
>If that is so, why is he getting that message "TypeError: format
>requires a mapping"?
Apparently the posted code doesn't match the actual code. If that
print_row() matched the stack trace, should say % row at the end.
Perhaps there is another function print_row?
Or you cut something from the end?
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
More information about the Python-list
mailing list