How to force a single number to be a tuple

Roy Smith roy at
Sat Aug 7 09:38:13 EDT 2004

In article <uiq8h09864jrmf8oj2dt7c9hbr278u98qc at>,
 Dennis Lee Bieber <wlfraed at> wrote:

> On Fri, 06 Aug 2004 18:15:13 -0400, Roy Smith <roy at> declaimed
> the following in comp.lang.python:
> > For those of us who went to school a while ago, and perhaps didn't pay 
> > as much attention in math class as we should have, could you translate 
> > "an element of the Cartesian product of zero or more domains" into 
> > English?
> >
> 	It's more the terminology of relation database theory. Might
> have derived from some esoteric set theory in match, but for the most
> part relational database theory terms map to "common" terms as:
> relation			table
> tuple			row (record)
> domain			column
> 	An unrestricted Cartesian product basically pairs up each entry
> of "domain A" with each entry of "domain B"

Ah.  The cross-product.  It's amazing how so many fields of study use 
the same concepts but invent new names for things to obfuscate 
everything :-)

More information about the Python-list mailing list