| Store | Cart

"print" as function not statement

From: Leif K-Brooks <eurl...@ecritters.biz>
Mon, 08 Mar 2004 10:36:54 GMT
Duncan Booth wrote:
> You need a bit more checking to be sure nobody tried to pass in any > unexpected keyword arguments, and your output loop is a bit messy.

Why check for unknown keyword arguments? It seems to me that better 
forward-compatibility is achieved if we ignore them.

You're right about the output loop, though. I haven't really tried list 
comprehensions yet, so I didn't even think of using them. Thanks.

Recent Messages in this Thread
Mark Kamikaze Hughes Mar 08, 2004 01:36 am
John Roth Mar 08, 2004 02:38 am
Leif K-Brooks Mar 08, 2004 07:32 am
Duncan Booth Mar 08, 2004 08:31 am
Leif K-Brooks Mar 08, 2004 10:36 am
A.M. Kuchling Mar 08, 2004 01:29 pm
Heather Coppersmith Mar 08, 2004 12:56 pm
David MacQuigg Mar 09, 2004 09:04 pm
Aahz Mar 10, 2004 10:43 am
Peter Otten Mar 10, 2004 12:52 pm
David MacQuigg Mar 10, 2004 03:32 pm
Messages in this thread

Previous post: Start