Show More
@@ -422,7 +422,11 b' python-profiler package from non-free.""")' | |||||
422 | else: |
|
422 | else: | |
423 | fndoc = 'No documentation' |
|
423 | fndoc = 'No documentation' | |
424 | else: |
|
424 | else: | |
425 |
f |
|
425 | if fn.__doc__: | |
|
426 | fndoc = fn.__doc__.rstrip() | |||
|
427 | else: | |||
|
428 | fndoc = 'No documentation' | |||
|
429 | ||||
426 |
|
430 | |||
427 | if mode == 'rest': |
|
431 | if mode == 'rest': | |
428 | rest_docs.append('**%s%s**::\n\n\t%s\n\n' %(self.shell.ESC_MAGIC, |
|
432 | rest_docs.append('**%s%s**::\n\n\t%s\n\n' %(self.shell.ESC_MAGIC, |
General Comments 0
You need to be logged in to leave comments.
Login now