Stdlib: correct many parameter names (#9815)

This commit is contained in:
Alex Waygood
2023-03-04 09:53:12 +00:00
committed by GitHub
parent 4b755c7034
commit 257e287fec
30 changed files with 382 additions and 353 deletions

View File

@@ -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]):