def _set_default_options(self):
self.module_names = self._set_option(self.config.module_names)<EOL>all_ancestors = self._set_option(self.config.all_ancestors)<EOL>all_associated = self._set_option(self.config.all_associated)<EOL>anc_level, association_level = (<NUM_LIT:0>, <NUM_LIT:0>)<EOL>if all_ancestors:<EOL><INDENT>anc_level = -<NUM_LIT:1><EOL><DEDENT>if all_associated:<EOL><INDENT>association_level = -<NUM_LIT:1><EOL><DEDENT>if self.config.show_ancestors is not None:<EOL><INDENT>anc_level = self.config.show_ancestors<EOL><DEDENT>if self.config.show_associated is not None:<EOL><INDENT>association_level = self.config.show_associated<EOL><DEDENT>self.anc_level, self.association_level = anc_level, association_level<EOL>
set different default options with _default dictionary