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 a1979df commit 28b90d9Copy full SHA for 28b90d9
stubs/Pygments/pygments/styles/__init__.pyi
@@ -1,12 +1,12 @@
1
from _typeshed import Incomplete
2
from collections.abc import Iterator, Mapping
3
4
-from pygments.style import StyleMeta
+from pygments.style import Style
5
from pygments.util import ClassNotFound as ClassNotFound
6
7
STYLE_MAP: Mapping[str, str]
8
9
-def get_style_by_name(name) -> StyleMeta: ...
+def get_style_by_name(name) -> type[Style]: ...
10
def get_all_styles() -> Iterator[str]: ...
11
12
# Having every style class here doesn't seem to be worth it
0 commit comments