[Python-Dev] a flattening operator? (original) (raw)
Josiah Carlson jcarlson at uci.edu
Wed Apr 19 08:52:19 CEST 2006
- Previous message: [Python-Dev] a flattening operator?
- Next message: [Python-Dev] a flattening operator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
Josiah Carlson wrote:
> One major problem with this is that except for function calls, * is the > multiplication operator, which operates on two arguments. *foo is an > operation on a single argument, and without parenthesis, would be > ambiguously parsed. No, it wouldn't. There's no problem in giving an operator different unary and binary meanings; '-' already does that.
I stand corrected. Though the look of 'print *e' bothers me.
- Josiah
- Previous message: [Python-Dev] a flattening operator?
- Next message: [Python-Dev] a flattening operator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]