''

def get_one(self, k, duplicate_error):

    existing = self._dict.get(k)
    if isinstance(existing, set):
        if (len(existing) == 1):
            return next(iter(existing))
        else:
            raise ValueError((duplicate_error + (':    %r' % existing)))
    else:
        return existing
