mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 09:03:23 +08:00
Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233)
This commit is contained in:
@@ -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