why not say just what wants an integer?

Andrew Bennetts andrew-pythonlist at puzzling.org
Wed Apr 23 10:05:19 CEST 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.


More information about the Python-list mailing list