Michael Ströder wrote: > Peter Hansen wrote: > >>>>>''.join(chr(c) for c in range(65, 91)) >> >>'ABCDEFGHIJKLMNOPQRSTUVWXYZ' > > > Wouldn't this be a candidate for making the Python language stricter?
Why would that be true? I believe str.join() takes any iterable, and a generator (as returned by a generator expression) certainly qualifies. -Peter -- http://mail.python.org/mailman/listinfo/python-list