jquery
lundi 18 juillet 2016
what are the rules for iterator invalidation?
Is there a general rule that all modules follow? In my case, I'm using Python xml.etree library Let's say I do this: for el in root.iter('*'): for subel in el: el.remove(subel) Does that break the el iterator?
Aucun commentaire:
Enregistrer un commentaire
‹
›
Accueil
Afficher la version Web
Aucun commentaire:
Enregistrer un commentaire