Show More
@@ -26,6 +26,8 b' class _hybrid(object):' | |||||
26 | def __call__(self): |
|
26 | def __call__(self): | |
27 | for x in self.values: |
|
27 | for x in self.values: | |
28 | yield x |
|
28 | yield x | |
|
29 | def __len__(self): | |||
|
30 | return len(self.values) | |||
29 |
|
31 | |||
30 | def showlist(name, values, plural=None, element=None, **args): |
|
32 | def showlist(name, values, plural=None, element=None, **args): | |
31 | if not element: |
|
33 | if not element: |
General Comments 0
You need to be logged in to leave comments.
Login now