skywind3000 / ECDICT

Free English to Chinese Dictionary Database
MIT License
5.93k stars 1.04k forks source link

Removed a simple pitfall case of a consider-using-in case #84

Closed NaelsonDouglas closed 2 years ago

NaelsonDouglas commented 2 years ago

Problem: The code was incurring into the consider-using-in pitfall case, as described by Pylint documentation here https://github.com/vald-phoenix/pylint-errors/blob/master/plerr/errors/refactoring/R1714.md

Solution: Applied adequate refactoring. Only a single line of code was changed

skywind3000 commented 2 years ago

thanks