##// END OF EJS Templates
templater: use named function to expand template against mapping dict (API)...
templater: use named function to expand template against mapping dict (API) And replace __call__(t, **mapping) in favor of generate(t, mapping). I prefer a named function here since the templater isn't a simple function-like object. .. api:: The templater is no longer callable. Use ``templater.generate(t, mapping)`` instead of ``templater(t, **pycompat.strkwargs(mapping))``.
Yuya Nishihara -
r37037:c97b936d default
Show More
Name Size Modified Last Commit Author
/ mercurial / thirdparty / attr
LICENSE.txt Loading ...
__init__.py Loading ...
_compat.py Loading ...
_config.py Loading ...
_funcs.py Loading ...
_make.py Loading ...
converters.py Loading ...
exceptions.py Loading ...
filters.py Loading ...
validators.py Loading ...