[#3022] Minor pep8 and pythonic changes
[#3022] Add alternative_url to docstrings