来源:https://stackoverflow.com/questions/37688512/does-iterating-over-my-dict-keys-and-modifying-the-values-in-the-dictionary-in 标签 python iterator undefined-behavior