##// 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 / help / internals
bundle2.txt Loading ...
bundles.txt Loading ...
censor.txt Loading ...
changegroups.txt Loading ...
config.txt Loading ...
requirements.txt Loading ...
revlogs.txt Loading ...
wireprotocol.txt Loading ...