tuples, index method, Python's design

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Apr 12 13:36:58 EDT 2007


Carsten Haese:
> Nobody seems to be complaining about "+" behaving
> "inconsistently" depending on whether you're adding numbers or
> sequences.

We can learn a bit from the D language too, it uses ~ for array/string
concatenation, look for the "Array Concatenation" here:
http://www.digitalmars.com/d/arrays.html

Bye,
bearophile




More information about the Python-list mailing list