We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82479b4 commit 7a9b3e4Copy full SHA for 7a9b3e4
stubs/Pygments/pygments/formatters/groff.pyi
@@ -1,12 +1,15 @@
1
from _typeshed import SupportsWrite
2
from collections.abc import Iterable
3
+from typing import TypeVar
4
5
from pygments.formatter import Formatter
6
from pygments.token import _TokenType
7
8
__all__ = ["GroffFormatter"]
9
-class GroffFormatter(Formatter):
10
+_T = TypeVar("_T", str, bytes)
11
+
12
+class GroffFormatter(Formatter[_T]):
13
monospaced: bool
14
linenos: bool
15
wrap: int
0 commit comments