Skip to content

Commit

Permalink
Fix optparse OptionGroup __init__ to allow missing description (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdb8 authored and JelleZijlstra committed May 6, 2017
1 parent 0e21ac9 commit 385b9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/2and3/optparse.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down

0 comments on commit 385b9c8

Please sign in to comment.