<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tiginkgo</author_name>
  <author_url>https://blog.hatena.ne.jp/tiginkgo/</author_url>
  <blog_title>初心者のためのpython入門</blog_title>
  <blog_url>https://tiginkgo.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>継承をより詳しく 前回は、継承の基礎を説明しました。継承とは、既存のクラスを指定し、追加や変更したい一部だけを定義することにより新しいクラスを定義する方法でした。今回は、もう少し詳しく、継承におけるメソッドのオーバーライドや多重継承について説明したいと思います。 メソッドのオーバーライド メソッドのオーバーライドとは、親クラスに既に存在するメソッドを子クラスで上書き(オーバーライド)して使用する方法です。 # hero.py class Hero(): def __init__(self, name): self.name = name def self_introduction(self):…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftiginkgo.hateblo.jp%2Fentry%2F20171229%2F1514555167&quot; title=&quot;継承[2] - 初心者のための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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-29 22:46:07</published>
  <title>継承[2]</title>
  <type>rich</type>
  <url>https://tiginkgo.hateblo.jp/entry/20171229/1514555167</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
