(self, e: SuperExpr)
| 722 | return None |
| 723 | |
| 724 | def visit_super_expr(self, e: SuperExpr) -> None: |
| 725 | # Arguments in "super(C, self)" won't generate useful logical deps. |
| 726 | if not self.use_logical_deps(): |
| 727 | super().visit_super_expr(e) |
| 728 | if e.info is not None: |
| 729 | name = e.name |
| 730 | for base in non_trivial_bases(e.info): |
| 731 | self.add_dependency(make_trigger(base.fullname + "." + name)) |
| 732 | if name in base.names: |
| 733 | # No need to depend on further base classes, since we found |
| 734 | # the target. This is safe since if the target gets |
| 735 | # deleted or modified, we'll trigger it. |
| 736 | break |
| 737 | |
| 738 | def visit_call_expr(self, e: CallExpr) -> None: |
| 739 | if isinstance(e.callee, RefExpr) and e.callee.fullname == "builtins.isinstance": |
nothing calls this directly
no test coverage detected