]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch by Michael Scharf. He writes:
authorGuido van Rossum <guido@python.org>
Fri, 12 Mar 1999 22:15:43 +0000 (22:15 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 12 Mar 1999 22:15:43 +0000 (22:15 +0000)
commitd5138caba5fac644571cd7fa013d1ab0d4f867b6
treec0040771d01496ea698cdc4ff7c2bc1c4186c04a
parent7039f50828473a030123d2bc2990532bcac9b5d9
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]
Lib/cmd.py