diff --git a/stubs/Pygments/pygments/formatters/other.pyi b/stubs/Pygments/pygments/formatters/other.pyi index e02007b00..b3f42c323 100644 --- a/stubs/Pygments/pygments/formatters/other.pyi +++ b/stubs/Pygments/pygments/formatters/other.pyi @@ -10,7 +10,7 @@ class NullFormatter(Formatter[_T]): filenames: Any def format(self, tokensource, outfile) -> None: ... -class RawTokenFormatter(Formatter[_T]): +class RawTokenFormatter(Formatter[bytes]): name: str aliases: Any filenames: Any