From 385b9c8b660e4275fbb48765ced6a14911159782 Mon Sep 17 00:00:00 2001 From: Joe Bateson Date: Sat, 6 May 2017 09:39:55 -1000 Subject: [PATCH] Fix optparse OptionGroup __init__ to allow missing description (#1248) --- stdlib/2and3/optparse.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2and3/optparse.pyi b/stdlib/2and3/optparse.pyi index fe7f43799..b625f5977 100644 --- a/stdlib/2and3/optparse.pyi +++ b/stdlib/2and3/optparse.pyi @@ -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: ...