{"provider_name":"Hatena Blog","type":"rich","image_url":null,"published":"2022-09-25 16:35:48","blog_title":"Keep on moving","width":"100%","blog_url":"https://masahito.hatenablog.com/","categories":[],"title":"Python 3.11\u306e\u65b0\u6a5f\u80fd\u8a66\u3059(1) - \u30c8\u30ec\u30fc\u30b9\u30d0\u30c3\u30af\u306e\u30a8\u30e9\u30fc\u4f4d\u7f6e\u306e\u6539\u5584","author_url":"https://blog.hatena.ne.jp/Ehren/","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasahito.hatenablog.com%2Fentry%2F2022%2F09%2F25%2F163548\" title=\"Python 3.11\u306e\u65b0\u6a5f\u80fd\u8a66\u3059(1) - \u30c8\u30ec\u30fc\u30b9\u30d0\u30c3\u30af\u306e\u30a8\u30e9\u30fc\u4f4d\u7f6e\u306e\u6539\u5584 - Keep on moving\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"app version Python 3.11 rc1 \u672c\u65e5\u8a66\u3059\u6a5f\u80fd \u672c\u65e5\u8a66\u3059\u306e\u306f\u3053\u3061\u3089\u3002 PEP 657: Enhanced error locations in tracebacks \u300c\u30c8\u30ec\u30fc\u30b9\u30d0\u30c3\u30af\u306e\u30a8\u30e9\u30fc\u4f4d\u7f6e\u306e\u6539\u5584\u300d\u3068\u3067\u3082\u8a33\u3059\u306e\u304c\u3088\u3055\u305d\u3046\u3002 \u5bfe\u5fdc\u3059\u308bPEP peps.python.org \u8a66\u3057\u3066\u307f\u305f\u30b3\u30fc\u30c9 from dataclasses import dataclass @dataclass class Point: x: int y: int def manhattan_distance(p1, p2): return abs(p1.x - p2.x) + abs(p1.y - p\u2026","version":"1.0","url":"https://masahito.hatenablog.com/entry/2022/09/25/163548","author_name":"Ehren"}