comparison contrib/Makefile.python @ 31886:bdda942f4b9c

templater: add support for keyword arguments Unlike revset, function arguments are pre-processed in templater. That's why we need to define argspec per function. An argspec field looks somewhat redundant in @templatefunc definition as a name field contains human-readable list of arguments. I'll make function doc be built from argspec later. Ported separate() function as an example.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Apr 2017 21:22:39 +0900
parents 9f8b8c4e5076
children 5e947367606c
comparison
equal deleted inserted replaced
31885:d18b624c1c06 31886:bdda942f4b9c