Skip to content
Snippets Groups Projects
Commit a9b722ab authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

+iter

parent 3d95b442
No related branches found
No related tags found
No related merge requests found
...@@ -148,6 +148,9 @@ class Heap(object): ...@@ -148,6 +148,9 @@ class Heap(object):
h.heap = copy.copy(self.heap) h.heap = copy.copy(self.heap)
return h return h
def __iter__(self):
return self.heap.__iter__()
# TODO needs tests # TODO needs tests
def pop(self): def pop(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment