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 d49f632

Browse files
Merge pull request #19 from vinayduggal7/master
Simple changes
2 parents 856efa9 + 0019eb7 commit d49f632

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
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

‎mydir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!python
22
"""
3-
mydir.py: a module that lists the namespaces of other module
3+
mydir.py: a module that list the namespaces of other modules
44
"""
55
from __future__ import print_function
66

0 commit comments

Comments
(0)

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