1
0
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:
Dave Halter
2014-03-31 12:44:47 +02:00
parent 9b3b28f185
commit 03b02f9830

View File

@@ -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: