Comment 5 for bug 176751

Revision history for this message
Anand Chitipothu (anandology) wrote : Re: [Bug 176751] Re: templetor for loops need odd and even functions like django

On Wed, Jun 18, 2008 at 11:07 AM, Aaron Swartz <email address hidden> wrote:
> I was thinking it made sense to use a reserved word so that existing
> variables wouldn't get clobbered.
Since I am trying to generate python code from the template in my new
implementation, it will not work.

> Also, I like the brevity. Maybe $loop instead?

fine.

> Why do you prefer index?

n is typically used to indicate length of the list.