Mercurial > hg
comparison mercurial/httppeer.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 | 586891c561dc |
children | 8e89c2bec1f7 |
comparison
equal
deleted
inserted
replaced
36987:4b744c7b35ce | 36988:317382151ac3 |
---|