(msg, attrs, predicate)
| 1476 | hr = HorizontalRule() |
| 1477 | |
| 1478 | def spill(msg, attrs, predicate): |
| 1479 | ok, attrs = _split_list(attrs, predicate) |
| 1480 | if ok: |
| 1481 | hr.maybe() |
| 1482 | push(msg) |
| 1483 | for name, kind, homecls, value in ok: |
| 1484 | try: |
| 1485 | value = getattr(object, name) |
| 1486 | except Exception: |
| 1487 | # Some descriptors may meet a failure in their __get__. |
| 1488 | # (bug #1785) |
| 1489 | push(self.docdata(value, name, mod)) |
| 1490 | else: |
| 1491 | push(self.document(value, |
| 1492 | name, mod, object, homecls)) |
| 1493 | return attrs |
| 1494 | |
| 1495 | def spilldescriptors(msg, attrs, predicate): |
| 1496 | ok, attrs = _split_list(attrs, predicate) |
nothing calls this directly
no test coverage detected