Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unindent custom docstrings of objects.

  • Loading branch information...
commit 07add9dc195331c30283d36b0aa2a147e5882559 1 parent bbbc9d0
@takluyver authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/core/oinspect.py
View
2  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.
Something went wrong with that request. Please try again.