Use lowercase type everywhere (#6853)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-01-08 16:09:29 +01:00
1 parent f8501d33c7
commit a40d79a4e6
172 files changed
+728 -761

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ from email.message import Message as _Message
from socket import socket
from ssl import SSLContext
from types import TracebackType
from typing import Any, Pattern, Protocol, Sequence, Type, Union, overload
from typing import Any, Pattern, Protocol, Sequence, Union, overload
_Reply = tuple[int, bytes]
_SendErrs = dict[str, _Reply]
@@ -79,7 +79,7 @@ class SMTP:
) -> None: ...
def __enter__(self: Self) -> Self: ...
def __exit__(
self, exc_type: Type[BaseException] | None, exc_value: BaseException | None, tb: TracebackType | None
self, exc_type: type[BaseException] | None, exc_value: BaseException | None, tb: TracebackType | None
) -> None: ...
def set_debuglevel(self, debuglevel: int) -> None: ...
def connect(self, host: str = ..., port: int = ..., source_address: _SourceAddress | None = ...) -> _Reply: ...