##// END OF EJS Templates
py3: fix type of attribute names forwarded by templatekw._hybrid...
Yuya Nishihara -
r36519:169ac2bb default
parent child Browse files
Show More
@@ -64,8 +64,8 b' class _hybrid(object):'
64 64 def __iter__(self):
65 65 return iter(self._values)
66 66 def __getattr__(self, name):
67 if name not in ('get', 'items', 'iteritems', 'iterkeys', 'itervalues',
68 'keys', 'values'):
67 if name not in (r'get', r'items', r'iteritems', r'iterkeys',
68 r'itervalues', r'keys', r'values'):
69 69 raise AttributeError(name)
70 70 return getattr(self._values, name)
71 71
General Comments 0
You need to be logged in to leave comments. Login now