From b7346fbbd8bd159474e705bb93c908c08fce506c Mon Sep 17 00:00:00 2001 From: Christian Olsson Date: Thu, 15 Mar 2018 15:57:10 +0100 Subject: [PATCH] =?UTF-8?q?Namn=C3=A4ndringar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pass2/{Inheritance.py => 4 Inheritance.py} | 2 -- Pass2/{struct.py => 5 Struct.py} | 0 2 files changed, 2 deletions(-) rename Pass2/{Inheritance.py => 4 Inheritance.py} (99%) rename Pass2/{struct.py => 5 Struct.py} (100%) diff --git a/Pass2/Inheritance.py b/Pass2/4 Inheritance.py similarity index 99% rename from Pass2/Inheritance.py rename to Pass2/4 Inheritance.py index 7456678..9dae697 100755 --- a/Pass2/Inheritance.py +++ b/Pass2/4 Inheritance.py @@ -1,5 +1,4 @@ class Person: - def __init__(self, first, last): self.firstname = first self.lastname = last @@ -8,7 +7,6 @@ class Person: return self.firstname + " " + self.lastname class Employee(Person): - def __init__(self, first, last, staffnum): Person.__init__(self,first, last) self.staffnumber = staffnum diff --git a/Pass2/struct.py b/Pass2/5 Struct.py similarity index 100% rename from Pass2/struct.py rename to Pass2/5 Struct.py