Slicing iterables in sub-generators without loosing elements

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Oct 1 04:19:37 EDT 2012


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.




More information about the Python-list mailing list