Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# encoding: utf-8 

2from . import * 

3 

4def tbody( 

5 trContent=""): 

6 """ 

7 *Generate a table body - TBS style* 

8 

9 **Key Arguments** 

10 

11 - ``trContent`` -- the table row content 

12  

13 

14 **Return** 

15 

16 - ``tbody`` -- the table body 

17  

18 """ 

19 

20 if isinstance(trContent, list): 

21 new = "" 

22 for c in trContent: 

23 new += c 

24 trContent = new 

25 

26 tbody = """<tbody class="">%(trContent)s</tbody>""" % locals() 

27 

28 return tbody