On 12/28/05, Aahz <[EMAIL PROTECTED]> wrote:
> Here's yet a different take on this: why not simply change the startup
> message?  Whether we choose "quit" or "exit", someone will get it wrong
> unless there's an alias.  Changing the message is free.  Currently we
> have
>
>     Type "help", "copyright", "credits" or "license" for more information.
>
> Let's add another line that says
>
>     Type "quit()" to exit
>
> Defining it as "def quit(): raise SystemExit" should be fine.
> --

Just because people don't read unless it it thrown in their face.  =) 
But that is still nice and simple and won't hurt.  I would still
suggest using a class so that the repr can give a useful message,
though.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to