Skip to content
Snippets Groups Projects
Commit 67666459 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

templater: mark .joinfmt as a private attribute

parent 11d51e51
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@
self._gen = gen # generator or function returning generator
self._values = values
self._makemap = makemap
self.joinfmt = joinfmt
self._joinfmt = joinfmt
self.keytype = keytype # hint for 'x in y' where type(x) is unresolved
def itermaps(self, context):
......@@ -97,7 +97,7 @@
def join(self, context, mapping, sep):
# TODO: switch gen to (context, mapping) API?
return joinitems((self.joinfmt(x) for x in self._values), sep)
return joinitems((self._joinfmt(x) for x in self._values), sep)
def show(self, context, mapping):
# TODO: switch gen to (context, mapping) API?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment