def deck_choices(self, autocomplete_name=None):
    autocomplete_name = (autocomplete_name or self.autocomplete_name)
    xpath = ''.join([('//*[@id="id_%s%s"]/' % (autocomplete_name, self.input_name_suffix)), 'preceding-sibling::', 'span[contains(', 'concat(" ", normalize-space(@class), " "), ', '" deck ")', ']/*[@data-value]'])
    return self.selenium.find_elements_by_xpath(xpath)
def deck_choices(self, autocomplete_name=None):
    autocomplete_name = (autocomplete_name or self.autocomplete_name)
    xpath = .join([('//*[@id="id_%s%s"]/' % (autocomplete_name, self.input_name_suffix)), 'preceding-sibling::', 'span[contains(', 'concat(" ", normalize-space(@class), " "), ', '" deck ")', ']/*[@data-value]'])
    return self.selenium.find_elements_by_xpath(xpath)