Use PEP 570 syntax in third party stubs (#11554)

This commit is contained in:
Shantanu
2024-03-10 06:11:43 -07:00
committed by GitHub
parent f94bbfbcc4
commit 88fa182253
97 changed files with 625 additions and 632 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ from paramiko.util import ClosingContextManager
class _TransportFactory(Protocol):
def __call__(
self,
__sock: _SocketLike,
sock: _SocketLike,
/,
*,
gss_kex: bool,
gss_deleg_creds: bool,