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/2000-March/002694.html below:

[Python-Dev] Set options

[Python-Dev] Set options [Python-Dev] Set optionsMoshe Zadka Moshe Zadka <mzadka@geocities.com>
Tue, 21 Mar 2000 20:38:02 +0200 (IST)
On Tue, 21 Mar 2000, Gordon McMillan wrote:

> E.g., what's the right behavior when you 
> invert {'a':1,'b':1}? Hint: any answer you give will be met by the 
> wrath of God.

Isn't "wrath of God" translated into Python is "an exception"?

raise ValueError("dictionary is not 1-1") 

seems fine to me.
--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com




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