Tuple assignment
Pelle
pelle.mansson at gmail.com
Thu Oct 7 01:48:33 PDT 2010
On 10/07/2010 09:03 AM, Walter Bright wrote:
> Russel Winder wrote:
>> Python may be the best base to compare things to as tuple assignment has
>> been in there for years.
>
> Too segue this into the previous thread, how does Python treat (1)? Is
> it a floor wax or a dessert topping?
>
> http://www.nbc.com/saturday-night-live/video/shimmer-floor-wax/1056743/
(1) == 1
(1,) == tuple([1])
More information about the Digitalmars-d
mailing list