A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/059726.html below:

python-dev Summary for 2005-12-16 through2005-12-31

[Python-Dev] DRAFT: python-dev Summary for 2005-12-16 through2005-12-31 [Python-Dev] DRAFT: python-dev Summary for 2005-12-16 through2005-12-31Fredrik Lundh fredrik at pythonware.com
Fri Jan 13 11:04:35 CET 2006
Tony Meyer wrote:

> Fredrik Lundh kicked off a surprisingly long thread when he proposed
> that typing "quit" or "exit" in the interactive prompt actually exit
> (i.e. raises SystemError)

SystemExit

>     >>> def exit():
>     ...      print "bye"
>
>    >>> # what is it?
>     >>> exit
>
>     $ oops!
>
> (However, one could simply type "repr(exit)" in this case).

too late:

    >>> exit
    $ repr(exit)
    bash: syntax error near unexpected token `repr(exit)'

</F>



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4