mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Stdlib: correct many parameter names (#9815)
This commit is contained in:
@@ -593,7 +593,7 @@ class Mapping(Collection[_KT], Generic[_KT, _VT_co]):
|
||||
def items(self) -> ItemsView[_KT, _VT_co]: ...
|
||||
def keys(self) -> KeysView[_KT]: ...
|
||||
def values(self) -> ValuesView[_VT_co]: ...
|
||||
def __contains__(self, __o: object) -> bool: ...
|
||||
def __contains__(self, __key: object) -> bool: ...
|
||||
|
||||
class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT]):
|
||||
@abstractmethod
|
||||
@@ -698,7 +698,7 @@ class IO(Iterator[AnyStr], Generic[AnyStr]):
|
||||
def __enter__(self) -> IO[AnyStr]: ...
|
||||
@abstractmethod
|
||||
def __exit__(
|
||||
self, __t: Type[BaseException] | None, __value: BaseException | None, __traceback: TracebackType | None
|
||||
self, __type: Type[BaseException] | None, __value: BaseException | None, __traceback: TracebackType | None
|
||||
) -> None: ...
|
||||
|
||||
class BinaryIO(IO[bytes]):
|
||||
|
||||
Reference in New Issue
Block a user