temporary support for unicode in Documentation objects. We still need to discuss the exact details of that class #392
This commit is contained in:
1 parent
9b3b28f185
commit
03b02f9830
1 file changed
+6
@@ -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