At 09:22 AM 8/5/2003, you wrote:
On Mon, 04 Aug 2003 13:09:37 -0700, Ian L <[EMAIL PROTECTED]> wrote:
>
>I have a bit of psp code like this:
>
><%
>for (obj_id, score) in list:
>     obj = manager.load(obj_id)          # load object
>%>

By the way, it is a very bad idea to use variables named "list", "dict", and
"file".  Starting in Python 2.2, those become type names.

--
- Tim Roberts, [EMAIL PROTECTED]

Yeah i know. I normally do something like strList etc. But i'm trying to re-write this code as little as possible right now. I just want to get it working. Once its working, then maybe cleaning it up might be something i'd do later ... although probably not :)


thanks for pointing that out,

ian



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to