mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 11:32:07 +08:00
stdlib: Use pos-only parameters for many Protocols (#10985)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user