[Python-3000] Type Expressions (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 19 02:59:38 CEST 2006
- Previous message: [Python-3000] Type Expressions
- Next message: [Python-3000] Type Expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Birch, Bill wrote:
[int, etc] # a list of ints # (etc = zero or more of the previous element)
The obvious way to express that would be
[int, ...]
or at least it would be if ... weren't restricted to slices!
Py3k suggestion: make ... a generally legal expression.
-- Greg
- Previous message: [Python-3000] Type Expressions
- Next message: [Python-3000] Type Expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]