[Python-ideas] Support multiplication for sets
Georg Brandl
g.brandl at gmx.net
Sat Oct 8 09:42:46 CEST 2011
Am 08.10.2011 02:57, schrieb Terry Reedy:
> On 10/7/2011 7:20 AM, Paul Moore wrote:
>> On 7 October 2011 11:37, Jakob Bowyer<jkbbwr at gmail.com> wrote:
>>> There is that but from a math point of view the syntax a * b does make
>>> sence.
>>> Its slightly clearer and makes more sense to people from outside of a
>>> programming background.
>
> Math used a different symbol, an 'X' without serifs, for cross-products.
> The result is a set of 'ordered pairs', which is different from a duple.
While I understand the rest of your post, this made me wonder: what is the
difference between an ordered pair and a 2-tuple?
Georg
More information about the Python-ideas
mailing list