Swap# class discopy.rigid.Swap(left, right)[source]# Bases: Swap, Box Implements swaps of basic types in a rigid category.