pinard/Pymacs — Issue #16: clean doc-string before passing it to emacs
Author: leoliu
Created: 2012-02-04 10:07:13+00:00
State: open

Example:

def whatsnew(arg):
"""
What's the best way to handle this correctly?

Multi-line doc-string.
"""
pass

The doc string shows up nicely in pydoc but a bit weird in emacs. I wonder if the doc-string should be cleaned up by using http://docs.python.org/library/inspect.html#inspect.cleandoc before feeding to emacs?

Leo