(self, context)
| 783 | bases: list = field(default_factory=list) |
| 784 | |
| 785 | def _visit_node(self, context): |
| 786 | context.stack.push() |
| 787 | |
| 788 | for idx, b in enumerate(self.body): |
| 789 | context.visit_child( |
| 790 | node=b, |
| 791 | replace=partial(self.__replace_body, idx=idx, visitor=context.visitor), |
| 792 | closure=self |
| 793 | ) |
| 794 | |
| 795 | context.stack.pop() |
| 796 | |
| 797 | def __replace_body(self, value, idx, visitor): |
| 798 | visitor.modified = True |
nothing calls this directly
no test coverage detected