{"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F2017%2F01%2F15%2F000000\" title=\"Python\u3067==\u306eoverride - \u65e5\u3005\u7cbe\u9032\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["AI"],"url":"https://anton0825.hatenablog.com/entry/2017/01/15/000000","image_url":null,"author_url":"https://blog.hatena.ne.jp/anton0825/","width":"100%","author_name":"anton0825","blog_title":"\u65e5\u3005\u7cbe\u9032","provider_url":"https://hatena.blog","blog_url":"https://anton0825.hatenablog.com/","version":"1.0","provider_name":"Hatena Blog","type":"rich","title":"Python\u3067==\u306eoverride","published":"2017-01-15 00:00:00","description":"eq\u3092override\u3059\u308b\u3002 class Foo: def __init__(self, item): self.item = item def __eq__(self, other): if isinstance(other, self.__class__): return self.__dict__ == other.__dict__ else: return False \u53c2\u8003\uff1a stackoverflow.com"}