Wow~many thanks! The official documentation just has so much things uncovered ==
在 2012年4月19日星期四UTC+8下午3时34分17秒,Anand写道: > > > > On Thu, Apr 19, 2012 at 12:48 PM, Makto <[email protected]> wrote: > >> Got it! >> Can we treat the "def with (v1, v2, ...)" as a declaration of all the >> variables(v1, v2...) that will be used in the template? >> > > Yes, but it is more than that. > > You can say: > > $def with (v1, v2, v3="foo") > > or > > $def with (v1, v2, **kwargs) > > etc. > > The first form is commonly used, but the latter one is rarely used. > > Anand > -- You received this message because you are subscribed to the Google Groups "web.py" group. To view this discussion on the web visit https://groups.google.com/d/msg/webpy/-/Zk9nDW735CIJ. 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.
