(msg, attrs, predicate)
| 983 | push('</dl>\n') |
| 984 | |
| 985 | def spill(msg, attrs, predicate): |
| 986 | ok, attrs = _split_list(attrs, predicate) |
| 987 | if ok: |
| 988 | hr.maybe() |
| 989 | push(msg) |
| 990 | for name, kind, homecls, value in ok: |
| 991 | try: |
| 992 | value = getattr(object, name) |
| 993 | except Exception: |
| 994 | # Some descriptors may meet a failure in their __get__. |
| 995 | # (bug #1785) |
| 996 | push(self.docdata(value, name, mod)) |
| 997 | else: |
| 998 | push(self.document(value, name, mod, |
| 999 | funcs, classes, mdict, object, homecls)) |
| 1000 | push('\n') |
| 1001 | return attrs |
| 1002 | |
| 1003 | def spilldescriptors(msg, attrs, predicate): |
| 1004 | ok, attrs = _split_list(attrs, predicate) |
nothing calls this directly
no test coverage detected