(cls)
| 18 | import weakref |
| 19 | |
| 20 | def _get_dump(cls): |
| 21 | # Reimplement _get_dump() for pure-Python implementation of |
| 22 | # the abc module (Lib/_py_abc.py) |
| 23 | registry_weakrefs = set(weakref.ref(obj) for obj in cls._abc_registry) |
| 24 | return (registry_weakrefs, cls._abc_cache, |
| 25 | cls._abc_negative_cache, cls._abc_negative_cache_version) |
| 26 | |
| 27 | |
| 28 | def save_support_xml(filename): |
no test coverage detected
searching dependent graphs…