joblib/joblib — pull request #135 by wmayner (2014-05-16 22:08:21+00:00)
Title: ENH: Make MemorizedFunc __doc__ autodoc-compatible

This PR just strips the `\x08` control characters that `pydoc` uses for displaying function names in bold, so that the modified docstring of a `MemorizedFunc` plays nicely with tools like `sphinx.ext.autodoc`.

Currently, using `autodoc` on `joblib.Memory('dir').cache(func(args))` results in documentation like this:

Memoized version of ffuunncc(args)