mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-08 23:01:10 +08:00
Use unicode always for getting special objects
This commit is contained in:
@@ -204,7 +204,7 @@ class ModuleContext(use_metaclass(CachedMetaClass, TreeContext)):
|
||||
return names
|
||||
|
||||
def py__class__(self):
|
||||
return compiled.get_special_object(self.evaluator, 'MODULE_CLASS')
|
||||
return compiled.get_special_object(self.evaluator, u'MODULE_CLASS')
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s: %s@%s-%s>" % (
|
||||
|
||||
Reference in New Issue
Block a user