why does "help(import)" not work?
paul.nospam at rudin.co.uk
Fri Nov 6 11:49:17 CET 2009
"Robert P. J. Day" <rpjday at crashcourse.ca> writes:
> On Fri, 6 Nov 2009, Brian Quinlan wrote:
>> Hi Robert,
>> help() is just a regular function that must be called with correct
>> Python syntax and the import keyword is not allowed in an argument
>> The correct syntax is:
> ah, ok, now it makes sense. so python3 just lets me be sloppy about
> it, as in:
> >>> help(print)
> got it.
In python 3 print is a function.
More information about the Python-list