(msg, attrs, predicate)
| 938 | push('</dl>\n') |
| 939 | |
| 940 | def spill(msg, attrs, predicate): |
| 941 | ok, attrs = _split_list(attrs, predicate) |
| 942 | if ok: |
| 943 | hr.maybe() |
| 944 | push(msg) |
| 945 | for name, kind, homecls, value in ok: |
| 946 | try: |
| 947 | value = getattr(object, name) |
| 948 | except Exception: |
| 949 | # Some descriptors may meet a failure in their __get__. |
| 950 | # (bug #1785) |
| 951 | push(self.docdata(value, name, mod)) |
| 952 | else: |
| 953 | push(self.document(value, name, mod, |
| 954 | funcs, classes, mdict, object, homecls)) |
| 955 | push('\n') |
| 956 | return attrs |
| 957 | |
| 958 | def spilldescriptors(msg, attrs, predicate): |
| 959 | ok, attrs = _split_list(attrs, predicate) |
nothing calls this directly
no test coverage detected