From fc6c3bc297f2f714db9cb8556a5aeefb0099d615 Mon Sep 17 00:00:00 2001 From: vinayduggal7 <60979457+vinayduggal7@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:51:59 +0530 Subject: [PATCH 1/2] Update listtree.py --- listtree.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/listtree.py b/listtree.py index b1874b4..48507b1 100644 --- a/listtree.py +++ b/listtree.py @@ -51,22 +51,17 @@ def __str__(self): def tester(listerclass, sept=False): - class Super: - - def __init__(self): + def __init__(self): self.data1 = 'spam' - - def ham(self): + def ham(self): pass class Sub(Super, listerclass): - def __init__(self): Super.__init__(self) self.data2 = 'eggs' self.data3 = 42 - def spam(self): pass From 0019eb7c05246ffb9951679a0ac866693e7f42b3 Mon Sep 17 00:00:00 2001 From: vinayduggal7 <60979457+vinayduggal7@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:53:28 +0530 Subject: [PATCH 2/2] Update mydir.py --- mydir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mydir.py b/mydir.py index 26f70f8..4868927 100644 --- a/mydir.py +++ b/mydir.py @@ -1,6 +1,6 @@ #!python """ -mydir.py: a module that lists the namespaces of other module +mydir.py: a module that list the namespaces of other modules """ from __future__ import print_function