forked from VimPlug/jedi
temporary support for unicode in Documentation objects. We still need to discuss the exact details of that class #392
This commit is contained in:
@@ -668,6 +668,12 @@ class Documentation(object):
|
||||
self._definition = definition
|
||||
|
||||
def __str__(self):
|
||||
return self.full()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.full()
|
||||
|
||||
def full(self):
|
||||
try:
|
||||
return self._definition.doc
|
||||
except AttributeError:
|
||||
|
||||
Reference in New Issue
Block a user