That does look correct, but is pretty obscure (thus the devil emoji, I suppose!).    sorted `axes` could also be created with a generator expression:  ```Python  # Get the (sorted) axes of the plane in which rotation occurs  ax1, ax2 = (ax for ax in range(3) if ax != axis)  # We then embed the 2-axis rotation matrix into the full matrix.   sl = slice(ax1, ax2 + 1, ax2 - ax1)  ```