X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/9b5c9816d970d9c1f74d5f99e6f6d700e47eed6e..614c3bbf3c1c6fede55feae44370b0fe6d3fb5f0:/catacomb/__init__.py diff --git a/catacomb/__init__.py b/catacomb/__init__.py index 6ae1062..ff771b9 100644 --- a/catacomb/__init__.py +++ b/catacomb/__init__.py @@ -238,7 +238,7 @@ class _ShakeBase (_HashBase): ## Delegate methods... def copy(me): new = me.__class__(); new._copy(me) - def _copy(me, other): me._h = other._h + def _copy(me, other): me._h = other._h.copy() def hash(me, m): me._h.hash(m); return me def xof(me): me._h.xof(); return me def get(me, n): return me._h.get(n)