Lines Matching refs:kw
23 ``string.Template``) you can call the ``tmpl.substitute(**kw)``
26 ``sub(content, **kw)`` substitutes the template immediately. You
162 def substitute(self, *args, **kw):
164 if kw:
174 kw = args[0]
175 ns = kw
380 def sub(content, delimeters=None, **kw):
381 name = kw.get('__name')
383 return tmpl.substitute(kw)
393 def __init__(self, **kw):
394 for name, value in kw.iteritems():
469 def attr(**kw):
470 kw = list(kw.iteritems())
471 kw.sort()
473 for name, value in kw:
505 def sub_html(content, **kw):
506 name = kw.get('__name')
508 return tmpl.substitute(kw)
530 def __call__(self, *args, **kw):
531 values = self._parse_signature(args, kw)
548 def _parse_signature(self, args, kw):
552 for name, value in kw.iteritems():
611 def __call__(self, *args, **kw):