[Twisted-Python] Lore to Sphinx Conversion Progress Report 5

Tristan Seligmann mithrandi at mithrandi.net
Fri Feb 5 15:38:33 EST 2010

On Fri, Feb 5, 2010 at 10:18 PM, Kevin Horn <kevin.horn at gmail.com> wrote:

> After looking at this some more, it looks as though "izip_longest" is the
> culprit...introduced in 2.6.
> Why its giving a syntax error, though, is beyond me.

The problem is the function call syntax:

>>>        row_lines = list(izip_longest(*row_split, fillvalue=''))
>>>                                                          ^
>>>    SyntaxError: invalid syntax

You have keyword arguments after *args, and this is only valid in 2.6 and up.
mithrandi, i Ainil en-Balandor, a faer Ambar

More information about the Twisted-Python mailing list