(self, option_class, conflict_handler, description)
| 908 | """ |
| 909 | |
| 910 | def __init__(self, option_class, conflict_handler, description): |
| 911 | # Initialize the option list and related data structures. |
| 912 | # This method must be provided by subclasses, and it must |
| 913 | # initialize at least the following instance attributes: |
| 914 | # option_list, _short_opt, _long_opt, defaults. |
| 915 | self._create_option_list() |
| 916 | |
| 917 | self.option_class = option_class |
| 918 | self.set_conflict_handler(conflict_handler) |
| 919 | self.set_description(description) |
| 920 | |
| 921 | def _create_option_mappings(self): |
| 922 | # For use by OptionParser constructor -- create the main |
nothing calls this directly
no test coverage detected