I was playing with this somewhat dated and
not fully accepted key or legend the gender
diversity people sometimes use:
. diversity_acronyms = {'G':'Gay',
'L':'Lesbian',
'T':'Trans',
'B':'Bi',
'Q':'Queer',
'Q':'Questioning',
'H':'Hetero',
'I':'Intersex',
'P':'Pan' }
. diversity_acronyms.keys()
dict_keys(['Q', 'P', 'B', 'T', 'G', 'I', 'H', 'L'])
. diversity_acronyms['Q']
'Questioning'
Yes, given it's a mapping we all know that there's
no special ordering of the keys or the items in
general i.e. QPBTGIHL is but one permutation.
But my question is regarding key unique-ness:
(we lost a Q) and the rules of precedence at
define time.