def scrape_options_into_new_groups(source_groups, assignments):
 log.warning('scrape_options_into_new_groups() is deprecated and will be removed in v0.6.0')
 all_options = scrape_options_and_index_by_dest(*source_groups)
 return populate_option_groups_with_options(assignments, all_options)

def scrape_options_into_new_groups ( source_groups , assignments ) : log . warning ( 'scrape_options_into_new_groups() is deprecated and will be removed in v0.6.0' ) all_options = scrape_options_and_index_by_dest ( * source_groups ) return populate_option_groups_with_options ( assignments , all_options )
puts options from the :py:class:optionparser and :py:class:optiongroup objects in source_groups into the keys of assignments according to the values of assignments .