<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>EngineerNoi</author_name>
  <author_url>https://blog.hatena.ne.jp/EngineerNoi/</author_url>
  <blog_title>ITエンジニア ノイのブログ</blog_title>
  <blog_url>https://engineernoi.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>@classmethodは、Pythonのデコレータ（Decorator）の一つであり、クラスメソッド（classmethod）を定義するために使用されます。 クラスメソッドは、クラス自体に関連付けられているメソッドであり、通常のインスタンスメソッドとは異なる特徴を持ちます。クラスメソッドは、クラスのインスタンスを作成せずに呼び出すことができます。 クラスメソッドは、通常のメソッドと同じように定義されますが、メソッドの上に@classmethodデコレータを追加します。 簡単な例 class MyClass: @classmethod def my_class_method(cls, arg1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineernoi.hatenablog.com%2Fentry%2F2023%2F05%2F23%2F224539&quot; title=&quot;pythonの@classmethod - ITエンジニア ノイのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://www29.a8.net/svt/bgt?aid=210603843248&amp;wid=001&amp;eno=01&amp;mid=s00000000018015003000&amp;mc=1</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-05-23 22:45:39</published>
  <title>pythonの@classmethod</title>
  <type>rich</type>
  <url>https://engineernoi.hatenablog.com/entry/2023/05/23/224539</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
