Skip to content

Commit 8e88f16

Browse files
fix: daily tests failed on wed apr 08 2026 (#15628)
Signed-off-by: Harsha Pasham <pashamharsha018@gmail.com>
1 parent 5632132 commit 8e88f16

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

stubs/Pygments/pygments/lexer.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ from _typeshed import Incomplete
22
from collections.abc import Iterable, Iterator, Sequence
33
from re import Pattern, RegexFlag
44
from typing import ClassVar, Final
5+
from typing_extensions import disjoint_base
56

67
from pygments.token import _TokenType
78
from pygments.util import Future
@@ -62,6 +63,7 @@ class _inherit: ...
6263

6364
inherit: Incomplete
6465

66+
@disjoint_base
6567
class combined(tuple[Incomplete, ...]):
6668
def __new__(cls, *args): ...
6769
def __init__(self, *args) -> None: ...

stubs/Pygments/pygments/token.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from collections.abc import Mapping
22
from typing import Any, Final
3-
from typing_extensions import Self
3+
from typing_extensions import Self, disjoint_base
44

5+
@disjoint_base
56
class _TokenType(tuple[str, ...]):
67
parent: _TokenType | None
78
def split(self) -> list[_TokenType]: ...

0 commit comments

Comments
 (0)