code: def _setChoiceDict(self):
          
          # value is name of choice parameter (same as key)
          self.choiceDict = {}
          for c in self.choice: self.choiceDict[c] = c
docs: Create dictionary for choice list