Steven D'Aprano <[EMAIL PROTECTED]> wrote:

> On Sun, 09 Sep 2007 17:16:05 +1200, Lawrence D'Oliveiro wrote:
> 
>> The one thing I don't like about Python syntax is using backslashes to
>> continue lines.
> 
> Then don't use them. Put everything in one long line.
> 
> Or do something like this. Instead of
> 
> for Link in GetEachRecord("lots", "and", "lots", "of", "arguments"):
> 
> you can do this:
> 
> args = ("lots", "and", "lots", "of", "arguments")
> for Link in GetEachRecord(*args):
> 

Or even just:

records = GetEachRecord("lots", "and", "lots", "of", "arguments")
for link in records:
   ...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to