If I only have
(set-face-foreground 'font-lock-comment-face "red") (set-face-foreground 'font-lock-string-face "green")
in my .emacs, emacs uses the same string lock for Python strings and for Python docstrings.

What should I add to my .emac so that comments, lines and docstrings stand out?
This answer suggests that this is possible.
python emacs font-lock
Calaf
source share