<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>raspberrypi</author_name>
  <author_url>https://blog.hatena.ne.jp/raspberrypi/</author_url>
  <blog_title>Raspberry Pi &amp; Python 開発ブログ ☆彡</blog_title>
  <blog_url>https://raspberrypi.hatenadiary.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>ブログ管理者のP.Hです！ 今回はクラスの継承について紹介したいと思います。クラス名の後に継承したいクラス名を書くことで、継承することができます。 クラスの継承 オーバーライド MyClassAを継承したMyClassBを作るサンプルコードになります。 クラスの継承 class MyClassA: def __init__(self): self.nameA = &quot;&quot; def get_nameA(self): return self.nameA def set_nameA(self, name): self.nameA = name class MyClassB(MyClassA): # My…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fraspberrypi.hatenadiary.com%2Fentry%2Fpython-class-inheritance&quot; title=&quot;python3：クラスの継承 - Raspberry Pi &amp;amp; Python 開発ブログ ☆彡&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://cdn-ak.f.st-hatena.com/images/fotolife/r/raspberrypi/20200129/20200129235144.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-02 19:10:42</published>
  <title>python3：クラスの継承</title>
  <type>rich</type>
  <url>https://raspberrypi.hatenadiary.com/entry/python-class-inheritance</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
