commit | d5138caba5fac644571cd7fa013d1ab0d4f867b6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Mar 12 22:15:43 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Mar 12 22:15:43 1999 +0000 |
tree | c0040771d01496ea698cdc4ff7c2bc1c4186c04a | |
parent | 7039f50828473a030123d2bc2990532bcac9b5d9 [diff] |
Patch by Michael Scharf. He writes: The module cmd requires for each do_xxx command a help_xxx function. I think this is a little old fashioned. Here is a patch: use the docstring as help if no help_xxx function can be found. [I'm tempted to rip out all the help_* functions from pdb, but I'll resist it. Any takers? --Guido]