[Python-Dev] PEP 318 restrictions on elements (original) (raw)

[Python-Dev] PEP 318 - generality of list; restrictions on elements

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Mar 10 19:30:22 EST 2004


Aahz <aahz at pythoncraft.com>:

* A single identifier (which must be a callable)

* Comma-separated list of identifiers (which must be callables) * Arbitrary expression (which must produce a sequence of callables)

You left out

which is the one I'm in favor of.

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 +--------------------------------------+



More information about the Python-Dev mailing list