(msg, attrs, predicate)
| 920 | push('</dl>\n') |
| 921 | |
| 922 | def spill(msg, attrs, predicate): |
| 923 | ok, attrs = _split_list(attrs, predicate) |
| 924 | if ok: |
| 925 | hr.maybe() |
| 926 | push(msg) |
| 927 | for name, kind, homecls, value in ok: |
| 928 | try: |
| 929 | value = getattr(object, name) |
| 930 | except Exception: |
| 931 | # Some descriptors may meet a failure in their __get__. |
| 932 | # (bug #1785) |
| 933 | push(self.docdata(value, name, mod)) |
| 934 | else: |
| 935 | push(self.document(value, name, mod, |
| 936 | funcs, classes, mdict, object, homecls)) |
| 937 | push('\n') |
| 938 | return attrs |
| 939 | |
| 940 | def spilldescriptors(msg, attrs, predicate): |
| 941 | ok, attrs = _split_list(attrs, predicate) |
nothing calls this directly
no test coverage detected