<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 15:14:03 +0000</lastBuildDate>
    <item>
      <title>(Python) Example of class inheritance and method overriding in Python - Cesco</title>
      <link>https://snipplr.com/view/36330/example-of-class-inheritance-and-method-overriding-in-python</link>
      <description>&lt;p&gt;This simple example will show you how to inherit a class from a parent class. I have to apologise for some grammar mistakes that I've probably put in the comments, but English is not my native language.&#13;
&#13;
If you execute this code, the output will be:&#13;
&#13;
&#13;
Here comes Lois Lane&#13;
&#13;
Here comes Jimmy Olsen&#13;
&#13;
Here comes Clark Kent&#13;
&#13;
...but his secret identity is 'Superman' and he's a super-hero!&#13;
&#13;
&#13;
--&gt; Let's see what a man can do:&#13;
&#13;
&#13;
Jimmy Olsen walks&#13;
&#13;
Lois Lane says: 'Oh no, we're in danger!'&#13;
&#13;
--&gt; Let's see what a superman can do:&#13;
&#13;
&#13;
Clark Kent walks&#13;
&#13;
Clark Kent says: 'This is a job for SUPERMAN!'&#13;
&#13;
Superman run at the speed of light&#13;
&#13;
Superman fly up in the sky&#13;
&#13;
Superman uses his x-ray vision&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jun 2010 18:07:28 UTC</pubDate>
      <guid>https://snipplr.com/view/36330/example-of-class-inheritance-and-method-overriding-in-python</guid>
    </item>
    <item>
      <title>(Python) Nested classes: How to put a class inside another in Python - Cesco</title>
      <link>https://snipplr.com/view/35983/nested-classes-how-to-put-a-class-inside-another-in-python</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 22 Jun 2010 02:33:40 UTC</pubDate>
      <guid>https://snipplr.com/view/35983/nested-classes-how-to-put-a-class-inside-another-in-python</guid>
    </item>
  </channel>
</rss>
