hi!!!
i found this when i read the source of a program in python:
self.__chunks[start:end] = (chunk for i in xrange(start, end))
and also this:
self.__lines[line:line] = (None for i in xrange(count))
what utility has to assign a generator to a slice??? ?the *final
result* isn't the same as this?:
self.__chunks[start:end] = [chunk for i in xrange(start, end)]
self.__chunks[line:line] = [None for i in xrange(count)]
thanks!!!
ana
p.d. excuse my english
--
http://mail.python.org/mailman/listinfo/python-list