mercurial/minirst.py
changeset 16815 e740746ea557
parent 15861 ee8f5e4ce7b8
child 17424 e7cfe3587ea4
--- a/mercurial/minirst.py	Sat May 26 20:49:51 2012 +0200
+++ b/mercurial/minirst.py	Fri Jun 01 11:58:23 2012 +0200
@@ -658,7 +658,7 @@
     return lines
 
 def maketable(data, indent=0, header=False):
-    '''Generate an RST table for the given table data'''
+    '''Generate an RST table for the given table data as a list of lines'''
 
     widths = [max(encoding.colwidth(e) for e in c) for c in zip(*data)]
     indent = ' ' * indent
@@ -674,4 +674,4 @@
     if header and len(data) > 1:
         out.insert(2, div)
     out.append(div)
-    return ''.join(out)
+    return out