Show More
@@ -87,7 +87,7 b' class hybrid(wrapped):' | |||
|
87 | 87 | self._gen = gen # generator or function returning generator |
|
88 | 88 | self._values = values |
|
89 | 89 | self._makemap = makemap |
|
90 | self.joinfmt = joinfmt | |
|
90 | self._joinfmt = joinfmt | |
|
91 | 91 | self.keytype = keytype # hint for 'x in y' where type(x) is unresolved |
|
92 | 92 | |
|
93 | 93 | def itermaps(self, context): |
@@ -97,7 +97,7 b' class hybrid(wrapped):' | |||
|
97 | 97 | |
|
98 | 98 | def join(self, context, mapping, sep): |
|
99 | 99 | # TODO: switch gen to (context, mapping) API? |
|
100 | return joinitems((self.joinfmt(x) for x in self._values), sep) | |
|
100 | return joinitems((self._joinfmt(x) for x in self._values), sep) | |
|
101 | 101 | |
|
102 | 102 | def show(self, context, mapping): |
|
103 | 103 | # TODO: switch gen to (context, mapping) API? |
General Comments 0
You need to be logged in to leave comments.
Login now