On Jul 24, 2009, at 10:06 AM, dlypka wrote:

>
> I believe they are allowed.
> I wrote one very long line that had a for loop and lot of statements
> separated by ;
> But the ; should only be used for multiple statements all on the same
> physical source line.

What I ran into, I think, is that the 'pass' regex in template.py  
doesn't see a 'something; pass'. That's an oversimplification, I'm sure.

>
> On Jul 24, 11:59 am, Jonathan Lundell <[email protected]> wrote:
>> They're not allowed, right? This would be worth making an explicit
>> note of in the manual; I just wasted an hour or so fighting with  
>> that,
>> and assuming that I wasn't placing my pass's correctly.
>>
>> Looking at template.py (shouldn't that become view.py?), I can see  
>> why
>> they're not allowed. But the disallowance should be mentioned.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to