Skip to content

Commit 869238e

Browse files
authored
paramiko: get_banner in transport returns bytes (#4974)
1 parent 9d07d74 commit 869238e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/2and3/paramiko/transport.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class Transport(Thread, ClosingContextManager):
143143
def set_subsystem_handler(self, name: str, handler: Type[SubsystemHandler], *larg: Any, **kwarg: Any) -> None: ...
144144
def is_authenticated(self) -> bool: ...
145145
def get_username(self) -> Optional[str]: ...
146-
def get_banner(self) -> Optional[str]: ...
146+
def get_banner(self) -> Optional[bytes]: ...
147147
def auth_none(self, username: str) -> List[str]: ...
148148
def auth_password(self, username: str, password: str, event: Optional[Event] = ..., fallback: bool = ...) -> List[str]: ...
149149
def auth_publickey(self, username: str, key: PKey, event: Optional[Event] = ...) -> List[str]: ...

0 commit comments

Comments
 (0)