Mercurial > hg
comparison mercurial/transaction.py @ 36988:317382151ac3
templater: rename .render(mapping) to .renderdefault(mapping) (API)
I'm going to add templ.render(t, mapping) and templ.generate(t, mapping) in
place of stringify(templ(t, **mapping)) and templ(t, **mapping) respectively.
.. api::
The ``render(mapping)`` method of the templater has been renamed to
``renderdefault(mapping)``.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Mar 2018 11:23:04 +0900 |
parents | aff5996f3043 |
children | 3e8952c0cb45 |
comparison
equal
deleted
inserted
replaced
36987:4b744c7b35ce | 36988:317382151ac3 |
---|