def __init__(self, autocomplete_list, data_provide):
if callable(autocomplete_list):<EOL><INDENT>self.autocomplete_list = autocomplete_list()<EOL><DEDENT>else:<EOL><INDENT>self.autocomplete_list = '<STR_LIT>'.format(<EOL>'<STR_LIT>'.join(autocomplete_list))<EOL><DEDENT>self.data_provide = data_provide<EOL>
Init autocompletion.