mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Use Mapping for local Python namespace parameters (#12705)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from _typeshed import Unused
|
||||
from _typeshed.wsgi import WSGIApplication
|
||||
from collections.abc import Callable, Iterable
|
||||
from collections.abc import Callable, Iterable, Mapping
|
||||
from typing import Any, Literal
|
||||
|
||||
from waitress.adjustments import _AdjustmentsParams
|
||||
@@ -15,4 +15,4 @@ def serve(
|
||||
**kw: _AdjustmentsParams,
|
||||
) -> None: ...
|
||||
def serve_paste(app: WSGIApplication, global_conf: Unused, **kw: _AdjustmentsParams) -> Literal[0]: ...
|
||||
def profile(cmd: str, globals: dict[str, Any], locals: dict[str, Any], sort_order: Iterable[str], callers: bool) -> None: ...
|
||||
def profile(cmd: str, globals: dict[str, Any], locals: Mapping[str, Any], sort_order: Iterable[str], callers: bool) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user