File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ from _typeshed import Incomplete
22from collections .abc import Iterable , Iterator , Sequence
33from re import Pattern , RegexFlag
44from typing import ClassVar , Final
5+ from typing_extensions import disjoint_base
56
67from pygments .token import _TokenType
78from pygments .util import Future
@@ -62,6 +63,7 @@ class _inherit: ...
6263
6364inherit : Incomplete
6465
66+ @disjoint_base
6567class combined (tuple [Incomplete , ...]):
6668 def __new__ (cls , * args ): ...
6769 def __init__ (self , * args ) -> None : ...
Original file line number Diff line number Diff line change 11from collections .abc import Mapping
22from typing import Any , Final
3- from typing_extensions import Self
3+ from typing_extensions import Self , disjoint_base
44
5+ @disjoint_base
56class _TokenType (tuple [str , ...]):
67 parent : _TokenType | None
78 def split (self ) -> list [_TokenType ]: ...
You can’t perform that action at this time.
0 commit comments