why does "help(import)" not work?

Robert P. J. Day rpjday at crashcourse.ca
Fri Nov 6 11:36:21 CET 2009


On Fri, 6 Nov 2009, Robert P. J. Day wrote:

> On Fri, 6 Nov 2009, Chris Rebert wrote:
>
> > On Fri, Nov 6, 2009 at 1:56 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> > >  i'm sure there's a painfully obvious answer to this, but is there a
> > > reason i can't do:
> > >
> > >>>> help(import)
> > >  File "<stdin>", line 1
> > >    help(import)
> > >              ^
> > > SyntaxError: invalid syntax
> > >>>>
>
> > It would take a hideous kludge to make help(import) work.
> >
> > Cheers,
> > Chris
>
>   um ... ok, i'll take your word for it, but is there at least a
> generalizable pattern for what is directly help()able and what
> isn't?

  never mind, i was just educated on the proper usage of help().  i
*knew* i was going to embarrass myself when i asked that.  :-P  back
to reading.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================


More information about the Python-list mailing list