@deprecated(u'2.1')
def reverse_dict(d):
 return {v: k for (k, v) in six.iteritems(d)}

@ deprecated ( u'2.1' ) def reverse_dict ( d ) : return { v : k for ( k , v ) in six . iteritems ( d ) }
reverses direction of dependence dict .