The spacing for python in emacs was incorrect.