mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Gettattr needs unicode
This commit is contained in:
@@ -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