Skip to content

Commit 0ccffb1

Browse files
committed
Comment where @staticmethod came from
1 parent b169297 commit 0ccffb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Pygments/pygments/lexer.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Lexer(metaclass=LexerMeta):
4545
filters: Incomplete
4646
def __init__(self, **options) -> None: ...
4747
def add_filter(self, filter_, **options) -> None: ...
48-
@staticmethod
48+
@staticmethod # @staticmethod added by special handling in metaclass
4949
def analyse_text(text: str) -> float: ...
5050
def get_tokens(self, text: str, unfiltered: bool = False) -> Iterator[tuple[_TokenType, str]]: ...
5151
def get_tokens_unprocessed(self, text: str) -> Iterator[tuple[int, _TokenType, str]]: ...

0 commit comments

Comments
 (0)