Use unicode in compiled access
This commit is contained in:
1 parent
6d70bd7d5c
commit
ab42e856fb
1 file changed
+1
-1
@@ -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