diff setup.py @ 37273:83e1bbd48991

templater: define interface for objects requiring unwraphybrid() Prepares for introducing another hybrid-like data type. show() takes context as an argument so a wrapper class may render its items by pre-configured template: def show(self, context, mapping): return (context.expand(self._tmpl, mapping + lm) for lm in self._mappings)
author Yuya Nishihara <yuya@tcha.org>
date Sat, 17 Mar 2018 20:52:50 +0900
parents 922b3fae9c7d
children 611e466662af
line wrap: on
line diff