stdlib: Use pos-only parameters for many Protocols (#10985)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2023-11-06 18:09:04 +01:00
1 parent a5c1a4cd3f
commit 5030b7419b
9 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ class _ActionsContainer:
def _handle_conflict_resolve(self, action: Action, conflicting_actions: Iterable[tuple[str, Action]]) -> None: ...
class _FormatterClass(Protocol):
def __call__(self, prog: str) -> HelpFormatter: ...
def __call__(self, *, prog: str) -> HelpFormatter: ...
class ArgumentParser(_AttributeHolder, _ActionsContainer):
prog: str