mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -2,9 +2,9 @@ import asynchat
|
||||
import asyncore
|
||||
import socket
|
||||
from collections import defaultdict
|
||||
from typing import Any, Tuple, Type
|
||||
from typing import Any, Type
|
||||
|
||||
_Address = Tuple[str, int] # (host, port)
|
||||
_Address = tuple[str, int] # (host, port)
|
||||
|
||||
class SMTPChannel(asynchat.async_chat):
|
||||
COMMAND: int
|
||||
|
||||
Reference in New Issue
Block a user