Typing help brings up a screen that says type help()

Zachary Ware zachary.ware+pylist at gmail.com
Fri Aug 29 22:13:31 EDT 2014


On Fri, Aug 29, 2014 at 8:41 PM, Terry Reedy <tjreedy at udel.edu> wrote:
> On 8/29/2014 4:40 PM, Seymore4Head wrote:
>> older versions of python would allow ? as help.
>
> If I ever knew that, I have forgotten.  The interpreter must have treated
> '?' as a special case for interactive input. I suspect help was changed when
> quit and exit were added.

I don't believe '?' has ever been a feature of Python itself.
However, IPython does use '?' as a syntax for help; you can try it
with the in-browser interpreter at python.org.

-- 
Zach



More information about the Python-list mailing list