Searched refs:convert_choice2 (Results 1 – 1 of 1) sorted by relevance
171 def convert_choice2(text): function174 if strict and text not in convert_choice2.choices:175 values = ", ".join(convert_choice2.choices)177 index = convert_choice2.choices.index(text)179 convert_choice2.pattern = r"|".join(choices)180 convert_choice2.choices = choices181 return convert_choice2