summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/pyolian/eolian.py5
1 files 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):
1320 1320
1321 1321
1322class Documentation(Object): # OK (1 TODO Unit*) 1322class Documentation(Object): # OK (1 TODO Unit*)
1323 # def __repr__(self): 1323 def __repr__(self):
1324 # return "<eolian.Documentation '{0.name}'>".format(self) 1324 t = self.summary if len(self.summary) < 40 else self.summary[:40] + '...'
1325 return "<eolian.Documentation summary='{}'>".format(t)
1325 1326
1326 # this is too much for py, just use string.split('\n\n') instead 1327 # this is too much for py, just use string.split('\n\n') instead
1327 # def string_split(self, string): 1328 # def string_split(self, string):