{"height":"190","published":"2021-08-14 20:33:59","provider_url":"https://hatena.blog","categories":["Python"],"author_url":"https://blog.hatena.ne.jp/BioErrorLog/","width":"100%","description":"Python\u3067\u72ec\u81ea\u306b\u5b9a\u7fa9\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u540c\u58eb\u3092\u7b49\u4fa1\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u3092\u6574\u7406\u3057\u307e\u3059\u3002 \u306f\u3058\u3081\u306b Python\u3067\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7b49\u4fa1\u6bd4\u8f03\u3059\u308b __eq__\u30e1\u30bd\u30c3\u30c9\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3092\u6bd4\u8f03\u3059\u308b __eq__\u30e1\u30bd\u30c3\u30c9\u3067__dict__\u3092\u6bd4\u8f03\u3059\u308b \u540c\u4e00\u30af\u30e9\u30b9\u304b\u3092\u6bd4\u8f03\u3059\u308b \u540c\u4e00\u30af\u30e9\u30b9\u3067\u306a\u3044\u6642\u306fNotImplemented\u3092\u6295\u3052\u308b \u304a\u308f\u308a\u306b \u53c2\u8003 \u306f\u3058\u3081\u306b Python\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u30af\u30e9\u30b9\u306f\u7b49\u4fa1\u6f14\u7b97\u5b50\u3067\u6bd4\u8f03\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3002 \u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u30af\u30e9\u30b9/pytest\u30b3\u30fc\u30c9\u3092\u5b9a\u7fa9\u3057\u305f\u5834\u5408\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6bd4\u8f03\u90e8\u5206\u306eassert\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002 class MyClass\u2026","author_name":"BioErrorLog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.bioerrorlog.work%2Fentry%2Fpython-class-obj-equality\" title=\"Python\u3067\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7b49\u4fa1\u6bd4\u8f03\u3059\u308b - BioErrorLog Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://www.bioerrorlog.work/entry/python-class-obj-equality","title":"Python\u3067\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7b49\u4fa1\u6bd4\u8f03\u3059\u308b","type":"rich","blog_url":"https://www.bioerrorlog.work/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20210814/20210814203332.png","blog_title":"BioErrorLog Tech Blog","version":"1.0"}