Permalink
Browse files

Unindent custom docstrings of objects.

  • Loading branch information...
1 parent bbbc9d0 commit 07add9dc195331c30283d36b0aa2a147e5882559 @takluyver committed Nov 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/core/oinspect.py
@@ -105,7 +105,7 @@ def getdoc(obj):
else:
# if we get extra info, we add it to the normal docstring.
if isinstance(ds, basestring):
- return ds
+ return inspect.cleandoc(ds)
try:
return inspect.getdoc(obj)

0 comments on commit 07add9d

Please sign in to comment.