Skip to content

Commit 8631672

Browse files
committed
Fix make_analysator signature
1 parent 2f63f68 commit 8631672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Pygments/pygments/util.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_int_opt(options: Mapping[str, Any], optname: str, default: int | None =
2525
# are being processed.
2626
def get_list_opt(options: Mapping[str, Any], optname: str, default: list[Any] | tuple[Any, ...] | None = None) -> list[Any]: ...
2727
def docstring_headline(obj: object) -> str: ...
28-
def make_analysator(f: Callable[[float], float]) -> Callable[[float], float]: ...
28+
def make_analysator(f: Callable[[str], float]) -> Callable[[str], float]: ...
2929
def shebang_matches(text: str, regex: str) -> bool: ...
3030
def doctype_matches(text: str, regex: str) -> bool: ...
3131
def html_doctype_matches(text: str) -> bool: ...

0 commit comments

Comments
 (0)