Show More
@@ -409,8 +409,11 b' license. To use profiling, please install"python2.3-profiler" from non-free.""")' | |||||
409 | break |
|
409 | break | |
410 | if mode == 'brief': |
|
410 | if mode == 'brief': | |
411 | # only first line |
|
411 | # only first line | |
|
412 | if fn.__doc__: | |||
412 | fndoc = fn.__doc__.split('\n',1)[0] |
|
413 | fndoc = fn.__doc__.split('\n',1)[0] | |
413 | else: |
|
414 | else: | |
|
415 | fndoc = 'No documentation' | |||
|
416 | else: | |||
414 | fndoc = fn.__doc__ |
|
417 | fndoc = fn.__doc__ | |
415 |
|
418 | |||
416 | magic_docs.append('%s%s:\n\t%s\n' %(self.shell.ESC_MAGIC, |
|
419 | magic_docs.append('%s%s:\n\t%s\n' %(self.shell.ESC_MAGIC, |
General Comments 0
You need to be logged in to leave comments.
Login now