In test2() you have a for loop over a seq. "for i in x" is the same as "for i in items(x)", for which item i is unmutable. So I would expect exactly what you see -- myb is unmutable, so myb.myseq too. (I hope I have not misunderstood you.) Maybe what you want is something like "for myb in mitems(a.bseq):"
- Immutable sequence mmierzwa
- Re: Immutable sequence Stefan_Salewski
- Re: Immutable sequence mmierzwa