davemds pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=97289953ec0ae253761e39e82ffb334669f5ba7c
commit 97289953ec0ae253761e39e82ffb334669f5ba7c Author: Dave Andreoli <[email protected]> Date: Sat Mar 17 12:06:34 2018 +0100 Pyolian: fix __repr__ for Documentation --- src/scripts/pyolian/eolian.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py index 8a395c9a09..556f47720d 100644 --- a/src/scripts/pyolian/eolian.py +++ b/src/scripts/pyolian/eolian.py @@ -1320,8 +1320,9 @@ class _Eolian_Doc_Token_Struct(ctypes.Structure): class Documentation(Object): # OK (1 TODO Unit*) - # def __repr__(self): - # return "<eolian.Documentation '{0.name}'>".format(self) + def __repr__(self): + t = self.summary if len(self.summary) < 40 else self.summary[:40] + '...' + return "<eolian.Documentation summary='{}'>".format(t) # this is too much for py, just use string.split('\n\n') instead # def string_split(self, string): --
