mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[optparse] Add missing type annotation (#15185)
This commit is contained in:
+1
-1
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user