Proposed style changes.

Code becomes a lot more readable if you use 4 space for indentation instead of tabs. Also, It is a good advice to stick to maximum 79 characters per line (*72 characters in the case of docstrings and comments*), and when you use a multiline docstring, it is a convention to place the ending """ in a newline.