stdlib: More pos-only parameters to Protocols (#10987)

This commit is contained in:
Jelle Zijlstra
2023-11-06 14:45:12 -08:00
committed by GitHub
parent 5030b7419b
commit 3229b36644
7 changed files with 12 additions and 9 deletions

View File

@@ -68,9 +68,9 @@ def quotedata(data: str) -> str: ...
class _AuthObject(Protocol):
@overload
def __call__(self, challenge: None = None) -> str | None: ...
def __call__(self, __challenge: None = None) -> str | None: ...
@overload
def __call__(self, challenge: bytes) -> str: ...
def __call__(self, __challenge: bytes) -> str: ...
class SMTP:
debuglevel: int