How I can I swap two arguments in a call to a Python function?
If I put point
on the space between these two arguments:
self.assertEqual(json.loads(some.data), json_data)
and then M-t
(transpose-words
), I get:
self.assertEqual(json.loads(some.json), data_data)
On the other hand with C-M-t (transpose-sexps
) I get:
self.assertEqual(json.loadsjson_data, (some.data))
What I want is:
self.assertEqual(json_data, json.loads(some.data))
Is there a command that will do that?