mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
Reduce use of deprecated typing aliases (#6358)
This commit is contained in:
1 parent
7e836db2f3
commit
c685c2d6c6
19 files changed
+64
-61
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from typing import IO, Any, Dict, Iterable, Pattern, Set
|
||||
from typing import IO, Any, Dict, Iterable, Pattern
|
||||
|
||||
from paramiko.ssh_exception import ConfigParseError as ConfigParseError, CouldNotCanonicalize as CouldNotCanonicalize
|
||||
|
||||
@@ -17,7 +17,7 @@ class SSHConfig:
|
||||
def parse(self, file_obj: IO[str]) -> None: ...
|
||||
def lookup(self, hostname: str) -> SSHConfigDict: ...
|
||||
def canonicalize(self, hostname: str, options: SSHConfigDict, domains: Iterable[str]) -> str: ...
|
||||
def get_hostnames(self) -> Set[str]: ...
|
||||
def get_hostnames(self) -> set[str]: ...
|
||||
|
||||
class LazyFqdn:
|
||||
fqdn: str | None
|
||||
|
||||
Reference in new issue
Block a user