In message <mailman.2311.1282230005.1673.python-l...@python.org>, Alex Hall 
wrote:

>  def __eq__(self, obj):
>   if self.a==obj.a and self.b==obj.b: return True
>   return False

Is there a “Useless Use Of ...” award category for these “if <boolean> then 
return True; else return False” constructs?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to