> def flatten(in_list, ltypes=(list, tuple)): > ... > ltypes -- optional list of particular types to flatten
Could you elaborate on the decisions made around iterators here? I can see that flatten([GF(5)]) could be tricky -- is it [GF(5)] or [0, 1, 2, 3, 4]? Nick --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---