mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Fix optparse OptionGroup __init__ to allow missing description (#1248)
This commit is contained in:
committed by
Jelle Zijlstra
parent
0e21ac9892
commit
385b9c8b66
@@ -152,7 +152,7 @@ class OptionGroup(OptionContainer):
|
||||
option_list = ... # type: List[Option]
|
||||
parser = ... # type: OptionParser
|
||||
title = ... # type: _Text
|
||||
def __init__(self, parser: OptionParser, title: _Text, description: Optional[_Text]) -> None: ...
|
||||
def __init__(self, parser: OptionParser, title: _Text, description: Optional[_Text] = ...) -> None: ...
|
||||
def _create_option_list(self) -> None: ...
|
||||
def set_title(self, title: _Text) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user