Status of PEP's?
Courageous
jkraska at san.rr.com
Thu Feb 28 13:11:16 EST 2002
More information about the Python-list mailing list
Thu Feb 28 13:11:16 EST 2002
- Previous message (by thread): Status of PEP's?
- Next message (by thread): Status of PEP's?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> for i in len(mylist): > >Creates an iterator over the indices in mylist. I just don't think so. It would be better to have something which behaves slightly more like a classic for form. This could almost be achieved by some sort of first class range object thusly. In fact, one might even use slice notation: for i in [0:len(mylist):1]: ... where the stride is optional of course. C//
- Previous message (by thread): Status of PEP's?
- Next message (by thread): Status of PEP's?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list