Method
__init__
(
self,
color_scheme: dict[_TokenType, str],
**options: str | bool | None,
)
Source from the content-addressed store, hash-verified
| 47 | straightforward.""" |
| 48 | |
| 49 | def __init__( |
| 50 | self, |
| 51 | color_scheme: dict[_TokenType, str], |
| 52 | **options: str | bool | None, |
| 53 | ) -> None: |
| 54 | self.f_strings = {k: f"\x01{v}" for k, v in color_scheme.items()} |
| 55 | # FIXME: mypy currently fails to handle this properly |
| 56 | super().__init__(**options) # type: ignore |
| 57 | |
| 58 | def format(self, tokensource, outfile): |
| 59 | o = "" |
Callers
nothing calls this directly
Tested by
no test coverage detected