On Jan 22, 2007, at 8:43 AM, Rainer Sokoll wrote:

>
> Hi,
>
> in notification.py
> (http://trac.edgewall.org/browser/tags/trac-0.10.3/trac/ticket/ 
> notification.py),
> I came across lines 234 and 239. I have no idea about python, but are
> the commas in "for updater, in cursor:" correct python syntax? I've
> never seen that in other languages.

that is the same as this:

for x in cursor:
     updater = x[0]
     <rest of code>

--Noah

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to