mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-22 02:52:07 +08:00
Introduce SupportsContainsAndGetItem (#11827)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from _typeshed import SupportsGetItem, SupportsItemAccess, Unused
|
||||
from _typeshed import SupportsContainsAndGetItem, SupportsGetItem, SupportsItemAccess, Unused
|
||||
from builtins import list as _list, type as _type
|
||||
from collections.abc import Iterable, Iterator, Mapping
|
||||
from email.message import Message
|
||||
@@ -85,7 +85,7 @@ class FieldStorage:
|
||||
fp: IO[Any] | None = None,
|
||||
headers: Mapping[str, str] | Message | None = None,
|
||||
outerboundary: bytes = b"",
|
||||
environ: SupportsGetItem[str, str] = ...,
|
||||
environ: SupportsContainsAndGetItem[str, str] = ...,
|
||||
keep_blank_values: int = 0,
|
||||
strict_parsing: int = 0,
|
||||
limit: int | None = None,
|
||||
|
||||
Reference in New Issue
Block a user