[optparse] Add missing type annotation (#15185)

This commit is contained in:
Semyon Moroz
2025-12-28 14:33:53 +00:00
committed by GitHub
parent a566aee8cb
commit bbddfee87c
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ class OptionContainer:
callback_kwargs: dict[str, Any] | None = None,
help: str | None = None,
metavar: str | None = None,
**kwargs, # Allow arbitrary keyword arguments for user defined option_class
**kwargs: Any, # Allow arbitrary keyword arguments for user defined option_class
) -> Option: ...
def add_options(self, option_list: Iterable[Option]) -> None: ...
def destroy(self) -> None: ...