Aahz wrote:
> On Wed, Dec 28, 2005, Brett Cannon wrote:
>> On 12/28/05, Aahz <[EMAIL PROTECTED]> wrote:
>>> Here's yet a different take on this: .. change the startup message...
>>>     Type "help", "copyright", "credits" or "license" for more information.
>>> Let's add another line that says
>>>     Type "quit()" to exit
>>> ...

Or, perhaps:
     class _Quitter(str):
         def __call__(self): raise SystemExit
     quit = _Quitter('The quit command.  Type "quit()" to exit')
     exit = _Quitter('The exit command.  Type "exit()" to exit')

--Scott David Daniels
[EMAIL PROTECTED]

_______________________________________________
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