code: def _vote_legislators(self, yes_no_other):
          '''Return all legislators who votes yes/no/other on this bill.
          '''
          #id_getter = operator.itemgetter('leg_id')
          #ids = map(id_getter, self['%s_votes' % yes_no_other])
          #return map(self._legislator_objects.get, ids)
          result = []
          for voter in self[yes_no_other + '_votes']:
              if voter['leg_id']:
                  result.append(self._legislator_objects.get(voter['leg_id']))
              else:
                  result.append(voter)
          return resulf _vote_legislators(self, yes_no_other):
          '''Return all legislators who votes yes/no/other on this bill.
          '''
          #id_getter = operator.itemgetter('leg_id')
          #ids = map(id_getter, self['%s_votes' % yes_no_other])
          #return map(self._legislator_objects.get, ids)
          result = []
          for voter in self[yes_no_other + '_votes']:
              if voter['leg_id']:
                  result.append(self._legislator_objects.get(voter['leg_id']))
              else:
                  result.append(voter)
          return result
docs: Return all legislators who votes yes/no/other on this bill.