> The dict is modified in place (dicts are passed by reference not by value) so it does not need an assignment.

Garh. I know that. I should not look at code before I drink coffee :) It's all good then.