why not say just what wants an integer?

Andrew Bennetts andrew-pythonlist at puzzling.org
Wed Apr 23 04:05:19 EDT 2003


On Wed, Apr 23, 2003 at 02:53:16AM -0500, Adam Hupp wrote:
> > 
> > P.S. "pydoc print" gives nothing. Should it give some clue to the user
> > wanting to know about "print", or is that some violation of principles?
> 
> Sort of a violation.  Print is a keyword just like 'if' and 'def'.  so
> pydoc would have to special-case all of those.  Not a bad idea but I
> doubt it comes up very often.  

Try help('print') at the interactive prompt.

-Andrew.






More information about the Python-list mailing list