 
 (add-hook 'python-mode-hook (lambda ()
                               (run-hooks 'prelude-python-mode-hook)))
+
 (provide 'prelude-python)
 
 ;;; prelude-python.el ends here

;; Boston, MA 02110-1301, USA.

;;; Code:

(require 'prelude-programming)


(defun prelude-python-mode-defaults ()
  "Defaults for Python programming."
  (subword-mode +1)
  (anaconda-mode)
  (eldoc-mode)
  (setq-local electric-layout-rules
              '((?: . (lambda ()
                        (if (python-info-statement-starts-block-p)
