def _expand_one_key_dictionary(_dict):
 key = next(six.iterkeys(_dict))
 value = _dict[key]
 return (key, value)

def _expand_one_key_dictionary ( _dict ) : key = next ( six . iterkeys ( _dict ) ) value = _dict [ key ] return ( key , value )
returns the only one key and its value from a dictionary .