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/2005-December/059101.html below:

[Python-Dev] a quit that actually quits

[Python-Dev] a quit that actually quits [Python-Dev] a quit that actually quitsFredrik Lundh fredrik at pythonware.com
Tue Dec 27 14:57:29 CET 2005
Reinhold Birkenfeld wrote:

> What is wrong with something like this:
>
> >>> class Quitter:
> ...  def __repr__(self): raise SystemExit
> ...
> >>> exit = quit = Quitter()

>>> vars() # oops!

</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