mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-28 22:02:24 +08:00
@@ -7,7 +7,3 @@ pygments.lexer.LexerMeta.analyse_text
|
||||
|
||||
# Inheriting from tuple is weird
|
||||
pygments.token._TokenType.__init__
|
||||
pygments.token.Number
|
||||
pygments.token.String
|
||||
pygments.token.Token
|
||||
pygments.token.Whitespace
|
||||
|
||||
@@ -40,7 +40,7 @@ class _inherit: ...
|
||||
|
||||
inherit: Any
|
||||
|
||||
class combined(tuple[Any]):
|
||||
class combined(tuple[Any, ...]):
|
||||
def __new__(cls, *args): ...
|
||||
def __init__(self, *args) -> None: ...
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from collections.abc import Mapping
|
||||
|
||||
class _TokenType(tuple[str]):
|
||||
class _TokenType(tuple[str, ...]):
|
||||
parent: _TokenType | None
|
||||
def split(self) -> list[_TokenType]: ...
|
||||
subtypes: set[_TokenType]
|
||||
|
||||
Reference in New Issue
Block a user