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

This commit is contained in:
Shantanu authored and GitHub committed 2024-03-10 14:11:43 +01:00
1 parent f94bbfbcc4
commit 88fa182253
97 files changed
+625 -632

No files matched your search

+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,