I just drank the code and noticed that a colleague imported the old "string" Python module in order not to use any functions from it, but simply to have access to the string.lowercase constant.
I removed the obsolete import and replaced the "abcdef ..." for string.lowercase, but I was wondering: is there a better way I should do this?
python pylint
mikemaccana May 20 '13 at 14:04 2013-05-20 14:04
source share