Skip to content

Commit 5450613

Browse files
authored
RawTokenFormatter always returns bytes (#14412)
1 parent 9972845 commit 5450613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Pygments/pygments/formatters/other.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class NullFormatter(Formatter[_T]):
1010
filenames: Any
1111
def format(self, tokensource, outfile) -> None: ...
1212

13-
class RawTokenFormatter(Formatter[_T]):
13+
class RawTokenFormatter(Formatter[bytes]):
1414
name: str
1515
aliases: Any
1616
filenames: Any

0 commit comments

Comments
 (0)