(self, matcher: Callable[[str], bool])
| 175 | """Adapts a matcher function to a locals mapping as required by eval().""" |
| 176 | |
| 177 | def __init__(self, matcher: Callable[[str], bool]) -> None: |
| 178 | self.matcher = matcher |
| 179 | |
| 180 | def __getitem__(self, key: str) -> bool: |
| 181 | return self.matcher(key[len(IDENT_PREFIX) :]) |
nothing calls this directly
no outgoing calls
no test coverage detected