[Python-Dev] generator comprehension syntax, was: accumulator display syntax
Greg Ewing
greg at cosc.canterbury.ac.nz
Sun Oct 19 20:45:00 EDT 2003
More information about the Python-Dev mailing list
Sun Oct 19 20:45:00 EDT 2003
- Previous message: [Python-Dev] generator comprehension syntax, was: accumulator display syntax
- Next message: [Python-Dev] generator comprehension syntax, was: accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Raymond Hettinger <python at rcn.com>: > Is Phil's syntax acceptable to everyone? > > (yield: x*x for x in roots) I could probably live with it, but it would be so much nicer if the "yield" could be dispensed with. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] generator comprehension syntax, was: accumulator display syntax
- Next message: [Python-Dev] generator comprehension syntax, was: accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list