If I use pylint (via sublimerlinter) I get following warning message:
W602 deprecated form of raising exception
This I how I use exceptions in my code:
if CONDITION == True:
raise ValueError, HELPING_EXPLANATION
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…