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

__deepcopy__ bug fix

parent f7b2d9f3
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ class Heap(object):
h.heap = op(self.heap)
return h
def __deepcopy__(self):
def __deepcopy__(self, memo):
return self.__copie(copy.deepcopy)
def __copy__(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