HashLDash/Photon

Iteration on a dict with removed key uses deleted keys

HashLDash opened this issue · 0 comments

d = {1:1, 2:2}
del d[1]

for key in d:
print(key) # prints 1