[ python-Bugs-995983 ] Operations between sets
SourceForge.net
noreply at sourceforge.net
Thu Jul 22 21:09:38 CEST 2004
Bugs item #995983, was opened at 2004-07-22 10:32
Message generated for change (Comment added) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=995983&group_id=5470
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Francesco Ricciardi (nerby)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: Operations between sets
Initial Comment:
The documentation for the new Set types does not say
anything about applying a binary operation between two
sets of different type (i.e. one is a frozenset, the other
is a normal set).
I suppose the result is always a nromal set, but this
should be documented.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-07-22 14:09
Message:
Logged In: YES
user_id=80475
The result matches the type of the left-hand operand:
set & frozenset --> set
frozenset & set --> frozenset
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=995983&group_id=5470
More information about the Python-bugs-list
mailing list