def gen_synopsis(self, m):
	ats = m.find_aspects('*')
	ats = self.combine_attrs_of_same_kind(ats)
	tab = self.sortup_aspects(ats, synopsis=1)
	if tab:
	    self.gen_outer_dt('Synopsis')
	    self.open('dd')
	    self.open('dl')
	    self.level += 1
	    for typ, li in tab:
		try:
		    gen_syn = getattr(self, 'gen_%s_syn'%typ)
		except __HOLE__:
		    name = typ.capitalize().replace('_', ' ')
		    if len(li) != 1:
			name = name+'s'
		    self.gen_outer_dt(name)
		    for a in li:
			self.open('dd')
			self.gen_ref(a)
			self.close()
		else:
		    gen_syn(li)

	    self.level -= 1
	    self.close()
	    self.close()
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/gsl/Document.py/SubDoc.gen_synopsis