Show More
@@ -105,7 +105,7 def getdoc(obj): | |||||
105 | else: |
|
105 | else: | |
106 | # if we get extra info, we add it to the normal docstring. |
|
106 | # if we get extra info, we add it to the normal docstring. | |
107 | if isinstance(ds, basestring): |
|
107 | if isinstance(ds, basestring): | |
108 | return ds |
|
108 | return inspect.cleandoc(ds) | |
109 |
|
109 | |||
110 | try: |
|
110 | try: | |
111 | return inspect.getdoc(obj) |
|
111 | return inspect.getdoc(obj) |
General Comments 0
You need to be logged in to leave comments.
Login now