Remove trailing `` (N)`` suffix from a panel name.
(name: str)
| 12 | |
| 13 | |
| 14 | def _strip_panel_count(name: str) -> str: |
| 15 | """Remove trailing `` (N)`` suffix from a panel name.""" |
| 16 | return _PANEL_COUNT_RE.sub("", name) |
| 17 | |
| 18 | |
| 19 | class UITreeAPI: |
no outgoing calls