mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
waitress: fixes for latest (#13027)
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
from _typeshed import Unused
|
||||
from collections.abc import Callable, Sequence
|
||||
from io import TextIOWrapper
|
||||
from re import Pattern
|
||||
from typing import Any, Final
|
||||
from typing import Final
|
||||
|
||||
HELP: Final[str]
|
||||
RUNNER_PATTERN: Final[Pattern[str]]
|
||||
|
||||
def match(obj_name: str) -> tuple[str, str]: ...
|
||||
def resolve(module_name: str, object_name: str) -> Any: ... # Any module attribute
|
||||
def show_help(stream: TextIOWrapper, name: str, error: str | None = None) -> None: ...
|
||||
def show_exception(stream: TextIOWrapper) -> None: ...
|
||||
def run(argv: Sequence[str] = ..., _serve: Callable[..., Unused] = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user