Peter Hansen <[EMAIL PROTECTED]> writes:

> class _Helper(object):
>      """Define the built-in 'help'.
>      This is a wrapper around pydoc.help (with a twist).
>
>      """
>
>      def __repr__(self):
>          return "Type help() for interactive help, " \
>                 "or help(object) for help about object."
>      def __call__(self, *args, **kwds):
>          import pydoc
>          return pydoc.help(*args, **kwds)

Thanks, but how do I integrate this with cmd.Cmd?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to