Gettattr needs unicode
This commit is contained in:
1 parent
73682b95f5
commit
11b2ac9923
1 file changed
+1
-1
@@ -153,7 +153,7 @@ class CompiledObject(Context):
|
|||||||
"""
|
"""
|
||||||
return CompiledObjectFilter(self.evaluator, self, is_instance)
|
return CompiledObjectFilter(self.evaluator, self, is_instance)
|
||||||
|
|
||||||
@CheckAttribute('__getitem__')
|
@CheckAttribute(u'__getitem__')
|
||||||
def py__simple_getitem__(self, index):
|
def py__simple_getitem__(self, index):
|
||||||
with reraise_as_evaluator(IndexError, KeyError, TypeError):
|
with reraise_as_evaluator(IndexError, KeyError, TypeError):
|
||||||
access = self.access_handle.py__simple_getitem__(index)
|
access = self.access_handle.py__simple_getitem__(index)
|
||||||
|
|||||||
Reference in new issue
Block a user