[Python-Dev] Re: Generalizing "in" to pairs of sequences
Eric S. Raymond
Tue, 28 Aug 2001 17:20:15 -0400
Barry A. Warsaw <email@example.com>:
> ESR> How about "contains"? E.g.
> | if a.contains(b):
> | # do stuff
> Heh, and from there it's a small leap to a.__contains__(b), a.k.a.
> "b in a".
> Sneaky Eric, very sneaky. :)
You know, that didn't consciously occur to me. Which only goes to show
that my unconscious mind is even *more* evil...BWAHAHAHAHAA!
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
Society in every state is a blessing, but government even in its best
state is but a necessary evil; in its worst state an intolerable one;
for when we suffer, or are exposed to the same miseries *by a
government*, which we might expect in a country *without government*,
our calamities is heightened by reflecting that we furnish the means
by which we suffer."
-- Thomas Paine