Slicing iterables in sub-generators without loosing elements

Ramchandra Apte maniandram01 at gmail.com
Tue Oct 2 12:12:04 EDT 2012


On Monday, 1 October 2012 13:47:50 UTC+5:30, Mark Lawrence  wrote:
> On 01/10/2012 01:58, 88888 Dihedral wrote:
> 
> >
> 
> > Your question seems vague to me. If you know you are storing
> 
> > only immutable tuples in a list, then the way to iterate is simple.
> 
> >
> 
> 
> 
> Does Python have a magic method that let's me use mutable tuples?  I'd 
> 
> also like immutable lists.  Is it worth raising a feature request on the 
> 
> bug tracker?
> 
> 
> 
> -- 
> 
> Cheers.
> 
> 
> 
> Mark Lawrence.

Mark, you are talking to a bot.



More information about the Python-list mailing list