#318: helper.py, add docblock for 'duplicate_list_index'