PyDocs

Nav

Command-line interface libraries

OptionParser.remove_option

  • OptionParser.remove_option(opt_str)
If the OptionParser has an option corresponding to opt_str, that option is removed. If that option provided any other option strings, all of those option strings become invalid. If opt_str does not occur in any option belonging to this OptionParser, raises ValueError.
0 Examples
No examples for optparse/OptionParser.remove_option.
See Also
No see-alsos for optparse/OptionParser.remove_option
0 Notes
No notes for OptionParser.remove_option