Slicing iterables in sub-generators without loosing elements
88888 Dihedral
dihedral88888 at googlemail.com
Tue Oct 2 16:54:20 EDT 2012
On Monday, October 1, 2012 4:17:50 PM UTC+8, 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.
Python resolves objects by names and dynamical types.
This will force the programmer to write structured programs.
More information about the Python-list
mailing list