| 947 | return attrs |
| 948 | |
| 949 | def spilldata(msg, attrs, predicate): |
| 950 | ok, attrs = _split_list(attrs, predicate) |
| 951 | if ok: |
| 952 | hr.maybe() |
| 953 | push(msg) |
| 954 | for name, kind, homecls, value in ok: |
| 955 | base = self.docother(getattr(object, name), name, mod) |
| 956 | doc = getdoc(value) |
| 957 | if not doc: |
| 958 | push('<dl><dt>%s</dl>\n' % base) |
| 959 | else: |
| 960 | doc = self.markup(getdoc(value), self.preformat, |
| 961 | funcs, classes, mdict) |
| 962 | doc = '<dd><span class="code">%s</span>' % doc |
| 963 | push('<dl><dt>%s%s</dl>\n' % (base, doc)) |
| 964 | push('\n') |
| 965 | return attrs |
| 966 | |
| 967 | attrs = [(name, kind, cls, value) |
| 968 | for name, kind, cls, value in classify_class_attrs(object) |