A docstring would be appropriate rather than a comment. The function returns a dictionary, it isn't one ;)