> it's not a mako problem. it's a python feature.
Right. Except that Mako suggests passing **locals() and tgat doesn't
work inside of a method. Seems to me that Mako should take that into
account. Maybe I'm wrong?
On Dec 5, 4:13 pm, yejun <[EMAIL PROTECTED]> wrote:
> locals().pop('self') is what you want.
That wouldn't work. I'd have to do this:
l = locals()
l.pop('self') # this returns the value keyed by 'self'
render.foo(**l)
Which is essentially the same thing as doing del l['self']
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---