(n: Node)
| 347 | return |
| 348 | |
| 349 | def mark_read(n: Node): |
| 350 | flat_args, spec = pytree.tree_flatten((n.args, n.kwargs)) |
| 351 | seen = set() |
| 352 | for a in flat_args: |
| 353 | if isinstance(a, Node): |
| 354 | if a not in seen: |
| 355 | self._mark_read(a) |
| 356 | seen.add(a) |
| 357 | |
| 358 | if isinstance(handler, PatternHandler): |
| 359 | for n in handler.body: |
nothing calls this directly
no test coverage detected