Return the current target (non-class; for a class return enclosing module).
(self)
| 30 | return self.module |
| 31 | |
| 32 | def current_target(self) -> str: |
| 33 | """Return the current target (non-class; for a class return enclosing module).""" |
| 34 | assert self.module |
| 35 | if self.function: |
| 36 | fullname = self.function.fullname |
| 37 | return fullname or "" |
| 38 | return self.module |
| 39 | |
| 40 | def current_full_target(self) -> str: |
| 41 | """Return the current target (may be a class).""" |
no outgoing calls
no test coverage detected