`points = dict((s,t) for (t, s) in points.items())` for py2 and py3