pnijhara / gitsome

Consider iterating dictionary PYL-C0201
Anti-pattern
Major
4 years ago4 years old
Consider iterating the dictionary directly instead of calling .keys()
 84
 85unifiable_n = {}
 86
 87for k in unifiable.keys(): 88    unifiable_n[name2cp(k)] = unifiable[k]
 89
 90### End Entity Nonsense ###