(co, *, file=None, depth=None, show_caches=False, adaptive=False, show_offsets=False, show_positions=False)
| 839 | original_code=co.co_code, arg_resolver=arg_resolver, formatter=formatter) |
| 840 | |
| 841 | def _disassemble_recursive(co, *, file=None, depth=None, show_caches=False, adaptive=False, show_offsets=False, show_positions=False): |
| 842 | disassemble(co, file=file, show_caches=show_caches, adaptive=adaptive, show_offsets=show_offsets, show_positions=show_positions) |
| 843 | if depth is None or depth > 0: |
| 844 | if depth is not None: |
| 845 | depth = depth - 1 |
| 846 | for x in co.co_consts: |
| 847 | if hasattr(x, 'co_code'): |
| 848 | print(file=file) |
| 849 | print("Disassembly of %r:" % (x,), file=file) |
| 850 | _disassemble_recursive( |
| 851 | x, file=file, depth=depth, show_caches=show_caches, |
| 852 | adaptive=adaptive, show_offsets=show_offsets, show_positions=show_positions |
| 853 | ) |
| 854 | |
| 855 | |
| 856 | def _make_labels_map(original_code, exception_entries=()): |
no test coverage detected
searching dependent graphs…