Instead of<div><br></div><div>class CustomException(Exception):</div><div>    pass</div><div><br></div><div>how about just</div><div><br></div><div>class CustomException(Exception)</div><div><br></div><div>(no colon, no 'pass')</div><div>I'm sure this has been suggested before, but I couldn't find any...</div>