Message377728
#new code to avoid an err
index=0
count=len(root.findall("./*"))
while index <count:
rank = int (root[index].find("rank").text)
if rank>50:
root.remove(root[index])
index=index+0
count=count-1 # avoid index err
continue
index=index+1 |
|
Date |
User |
Action |
Args |
2020-10-01 00:25:23 | WoodyWoo | set | recipients:
+ WoodyWoo, docs@python |
2020-10-01 00:25:23 | WoodyWoo | set | messageid: <1601511923.59.0.246596672954.issue41899@roundup.psfhosted.org> |
2020-10-01 00:25:23 | WoodyWoo | link | issue41899 messages |
2020-10-01 00:25:23 | WoodyWoo | create | |
|