py3: fix type of attribute names forwarded by templatekw._hybrid
# skip-blame because just r'' prefixes
--- a/mercurial/templatekw.py Thu Mar 01 06:47:06 2018 -0500
+++ b/mercurial/templatekw.py Thu Mar 01 08:19:47 2018 -0500
@@ -64,8 +64,8 @@
def __iter__(self):
return iter(self._values)
def __getattr__(self, name):
- if name not in ('get', 'items', 'iteritems', 'iterkeys', 'itervalues',
- 'keys', 'values'):
+ if name not in (r'get', r'items', r'iteritems', r'iterkeys',
+ r'itervalues', r'keys', r'values'):
raise AttributeError(name)
return getattr(self._values, name)