remove unused function
This commit is contained in:
parent
9f54a47afa
commit
e76bddcc26
5
7/7p2.py
5
7/7p2.py
|
@ -20,11 +20,6 @@ class program(object):
|
||||||
sort_keys=True, indent=4)
|
sort_keys=True, indent=4)
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return self.toJSON()
|
return self.toJSON()
|
||||||
def total(self):
|
|
||||||
result = self.weight
|
|
||||||
for child in self.children:
|
|
||||||
result += self.total(child)
|
|
||||||
return total
|
|
||||||
|
|
||||||
|
|
||||||
def countlol(oix):
|
def countlol(oix):
|
||||||
|
|
Loading…
Reference in New Issue