(p)
| 410 | return a.tolist() |
| 411 | |
| 412 | def _simple(p): |
| 413 | # check if this subpattern is a "simple" operator |
| 414 | if len(p) != 1: |
| 415 | return False |
| 416 | op, av = p[0] |
| 417 | if op is SUBPATTERN: |
| 418 | return av[0] is None and _simple(av[-1]) |
| 419 | return op in _UNIT_CODES |
| 420 | |
| 421 | def _generate_overlap_table(prefix): |
| 422 | """ |
no outgoing calls
no test coverage detected
searching dependent graphs…