mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Python 2 still sucks.
This commit is contained in:
@@ -397,7 +397,7 @@ class CompiledObjectFilter(AbstractFilter):
|
|||||||
def get(self, name):
|
def get(self, name):
|
||||||
return self._get(
|
return self._get(
|
||||||
name,
|
name,
|
||||||
lambda: self.compiled_object.access_handle.is_allowed_getattr(name),
|
lambda: self.compiled_object.access_handle.is_allowed_getattr(force_unicode(name)),
|
||||||
lambda: self.compiled_object.access_handle.dir(),
|
lambda: self.compiled_object.access_handle.dir(),
|
||||||
check_has_attribute=True
|
check_has_attribute=True
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user