it's not a mako problem. it's a python feature.
you're calling a method, so self is already passed in, and you're also
passing in self as a kw.
the code below will show the same error:
class A:
def method(self, **kwargs):
pass
a = A()
a.method(**{'self':1})
On Fri, Dec 5, 2008 at 7:50 AM, Zack <[EMAIL PROTECTED]> wrote:
>
> On Dec 4, 6:56 pm, yejun <[EMAIL PROTECTED]> wrote:
>> You can rename self to anything at def GET(anything).
>
> Oh yeah. I guess I'd prefer to remove self from locals() before I'd do
> that, though. This seems like a mako "problem."
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---