def gen_descriptions(self, ats, use_attr_header = 1):
	if not ats:
	    return
	tab = self.sortup_aspects(ats)

	for typ, li in tab:
	    try:
		try:
		    gen_desc = getattr(self, 'gen_%s_descriptions'%typ)
		except __HOLE__:
		    hd = typ
		    if (len(li) > 1):
			hd = hd + 's'
		    hd = hd.capitalize().replace('_', ' ')
		    self.gen_outer_dt(hd)
		    for a in li:
			self.gen_def(a)
		else:
		    gen_desc(li)
	    except self.mod.ReportedError:
		pass
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/gsl/Document.py/SubDoc.gen_descriptions