mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 20:27:05 +08:00
Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233)
This commit is contained in:
1 parent
fb478f0b58
commit
8ef6602e25
12 files changed
+17
-18
No files matched your search
@@ -3,7 +3,7 @@ from collections.abc import Callable, Sequence
|
||||
from contextlib import AbstractContextManager
|
||||
from stat import S_IMODE as S_IMODE
|
||||
from types import TracebackType
|
||||
from typing import IO, Any
|
||||
from typing import IO
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
import paramiko
|
||||
@@ -33,7 +33,7 @@ class CnOpts:
|
||||
def __init__(self, knownhosts: str | None = ...) -> None: ...
|
||||
def get_hostkey(self, host: str) -> paramiko.PKey: ...
|
||||
|
||||
_Callback: TypeAlias = Callable[[int, int], Any]
|
||||
_Callback: TypeAlias = Callable[[int, int], object]
|
||||
_Path: TypeAlias = str | bytes
|
||||
|
||||
class Connection:
|
||||
|
||||
Reference in new issue
Block a user