Fix optparse OptionGroup __init__ to allow missing description (#1248)

This commit is contained in:
Joe Bateson
2017-05-06 09:39:55 -10:00
committed by Jelle Zijlstra
parent 0e21ac9892
commit 385b9c8b66

View File

@@ -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: ...