mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Use unicode in compiled access
This commit is contained in:
@@ -265,7 +265,7 @@ class DirectObjectAccess(object):
|
|||||||
return inspect.ismethoddescriptor(self._obj)
|
return inspect.ismethoddescriptor(self._obj)
|
||||||
|
|
||||||
def dir(self):
|
def dir(self):
|
||||||
return dir(self._obj)
|
return list(map(force_unicode, dir(self._obj)))
|
||||||
|
|
||||||
def has_iter(self):
|
def has_iter(self):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user