I don't think collapsing this to one line is helpful. It is also against pep8 style guidelines to not put a space after the `:` in dict assignments.