;; my minibuffer in the process.
(eldoc-mode 0)
- ;; Don't format python docstrings according to any particular convention.
- ;; The fill-paragraph function should word-wrap the docstring, but should
- ;; not (for example) delete the line break after the triple quotes.
- (setq python-fill-docstring-style nil)
+ ;; Use "django" style for python docstrings. This ensures that the
+ ;; leading triple quotes remain on their own line when you paragraph-
+ ;; fill the first paragraph of the docstring.
+ (setq python-fill-docstring-style 'django)
)