Files
typeshed/stdlib
Jon Dufresne c6ede41cd0 Correct and update several optparse types (#4897)
The first positional argument to HelpFormatter.format_option() and
HelpFormatter.format_option_strings() is a Option instance, not an
OptionParser.

Added some attributes to the Option class:

- callback
- callback_args
- callback_kwargs
- help
- metavar

The OptionParser.option_groups attribute is a list of OptionGroup
instances, not OptionParser instances.

The method OptionParser.add_option_group() returns a OptionGroup
instance (the one created/added), not an OptionParser instance.
2021-01-04 15:54:55 +01:00
..
2021-01-04 09:03:32 +01:00
2021-01-04 09:03:32 +01:00