[Python-Dev] a flattening operator?
Michael Urman
murman at gmail.com
Thu Apr 20 04:36:56 CEST 2006
On 4/18/06, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> No, it wouldn't. There's no problem in giving an operator
> different unary and binary meanings; '-' already does
> that.
However unlike -, there is a two character ** operator, so while x--y
is the same as x - - y, x**y would not be the same as x * * y.
Michael
--
Michael Urman http://www.tortall.net/mu/blog
More information about the Python-Dev
mailing list