so, i'd have to get the generator to yield one or more results and see if they look OK. maybe just one, so i can still modify it if i need to. then i would look to see if i get a 3-tuple with (string,list,list). the simplest way to do this is probably apply that check each time and raise TypeError if it is not.
i am writing a generator to fully flatten the tree. i have many use cases for flat trees. i will probably have a number of callbacks to apply caller tests (i hope a generator lets me do that).
i am writing a generator to fully flatten the tree. i have many use cases for flat trees. i will probably have a number of callbacks to apply caller tests (i hope a generator lets me do that).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.