mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
[optparse] Add missing type annotation (#15185)
This commit is contained in:
1 parent
a566aee8cb
commit
bbddfee87c
2 files changed
+1
-2
No files matched your search
+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