Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fc6c3bc

Browse files
Update listtree.py
1 parent d778b8f commit fc6c3bc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

‎listtree.py‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,17 @@ def __str__(self):
5151

5252

5353
def tester(listerclass, sept=False):
54-
5554
class Super:
56-
57-
def __init__(self):
55+
def __init__(self):
5856
self.data1 = 'spam'
59-
60-
def ham(self):
57+
def ham(self):
6158
pass
6259

6360
class Sub(Super, listerclass):
64-
6561
def __init__(self):
6662
Super.__init__(self)
6763
self.data2 = 'eggs'
6864
self.data3 = 42
69-
7065
def spam(self):
7166
pass
7267

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /