File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ from collections.abc import Callable, Mapping
2
2
from logging import Logger
3
3
from threading import Condition , Event , Lock
4
4
from typing import Any , TypeVar
5
+ from typing_extensions import Literal
5
6
6
7
from paramiko .buffered_pipe import BufferedPipe
7
8
from paramiko .file import BufferedFile
@@ -69,7 +70,7 @@ class Channel(ClosingContextManager):
69
70
def set_combine_stderr (self , combine : bool ) -> bool : ...
70
71
def settimeout (self , timeout : float | None ) -> None : ...
71
72
def gettimeout (self ) -> float | None : ...
72
- def setblocking (self , blocking : bool ) -> None : ...
73
+ def setblocking (self , blocking : bool | Literal [ 0 , 1 ] ) -> None : ...
73
74
def getpeername (self ) -> str : ...
74
75
def close (self ) -> None : ...
75
76
def recv_ready (self ) -> bool : ...
You can’t perform that action at this time.
0 commit comments