[Python-Dev] re: for in dict (user expectation poll)
Thomas Wouters
thomas@xs4all.net
Tue, 6 Feb 2001 22:28:10 +0100
On Tue, Feb 06, 2001 at 02:39:15PM -0600, Skip Montanaro wrote:
> Thomas> for x in 0 .. sequence:
> You meant
> for x in 0 .. len(sequence):
> right?
Yes and no. Yes, I know '0 .. sequence' can't really work. But that doesn't
mean I don't think the one without len() might be pref'rble over the other
one :) They were all just examples, anyway. All this talk about syntax and
what is best makes me feel like Fredrik: old and grumpy <wink>.
Time-for-my-medication-;)-ly y'rs,
--
Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!