(self, object, name=None, mod=None, cl=None)
return ''.join(results)
Produce html documentation for a data descriptor.
Produce html documentation for a data descriptor.
Produce html documentation for a data descriptor .
def docdata(self, object, name=None, mod=None, cl=None):
        """Produce html documentation for a data descriptor."""
        results = []
        push = results.append

        if name:
            push('<dl><dt><strong>%s</strong></dt>\n' % name)
        doc = self.markup(getdoc(object), self.preformat)
        if doc:
            push('<dd><tt>%s</tt></dd>\n' % doc)
        push('</dl>\n')

        return ''.join(results)
def docdata ( self , object , name = None , mod = None , cl = None ) : results = [ ] push = results . append if name : push ( '<dl><dt><strong>%s</strong></dt>\n' % name ) doc = self . markup ( getdoc ( object ) , self . preformat ) if doc : push ( '<dd><tt>%s</tt></dd>\n' % doc ) push ( '</dl>\n' ) return '' . join ( results )