##// END OF EJS Templates
%quickref crashed if a magic function has no docstring
Ville M. Vainio -
Show More
@@ -409,8 +409,11 b' license. To use profiling, please install"python2.3-profiler" from non-free.""")'
409 409 break
410 410 if mode == 'brief':
411 411 # only first line
412 if fn.__doc__:
412 413 fndoc = fn.__doc__.split('\n',1)[0]
413 414 else:
415 fndoc = 'No documentation'
416 else:
414 417 fndoc = fn.__doc__
415 418
416 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