[Python-Dev] New PEP
Victor Stinner
victor.stinner at gmail.com
Thu Mar 22 00:57:55 CET 2012
More information about the Python-Dev mailing list
Thu Mar 22 00:57:55 CET 2012
- Previous message: [Python-Dev] New PEP
- Next message: [Python-Dev] New PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> My proposed syntax is x(:) Change the Python syntax is not a good start. You can already experiment your idea using the slice() type. > We would have to do something like this. > sum(x[:-20:2]) Do you know the itertools module? It looks like itertools.islice(). Victor
- Previous message: [Python-Dev] New PEP
- Next message: [Python-Dev] New PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list