Mercurial > hg
changeset 38040:a3b4ccbec269 stable
help: correct signature of separate() template function
Without the dots, it looked as if separate() would take a list of arguments.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 24 May 2018 21:54:31 +0900 |
parents | 5b831053d9b6 |
children | 3790efb388ca |
files | mercurial/templatefuncs.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatefuncs.py Fri May 18 21:32:05 2018 +0900 +++ b/mercurial/templatefuncs.py Thu May 24 21:54:31 2018 +0900 @@ -555,7 +555,7 @@ return minirst.format(text, style=style, keep=['verbose']) -@templatefunc('separate(sep, args)', argspec='sep *args') +@templatefunc('separate(sep, args...)', argspec='sep *args') def separate(context, mapping, args): """Add a separator between non-empty arguments.""" if 'sep' not in args: