Hello, listers!

There is a way to avoid the intermedium var in this?

$ aa = {1: 'Gener', 2: 'Febrer', 3: 'Març'}.items()
$for a,b in aa:

If i try to do with

$for a,b in {1: 'Gener', 2: 'Febrer', 3: 'Març'}.items():

I'm getting:


    for a,b in loop.setup({1):
                            ^
SyntaxError: invalid syntax


Thank you!


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

Reply via email to