We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b50414 commit 16a238fCopy full SHA for 16a238f
src/CryptoPlus/Hash/pyradiogatun.py
@@ -278,14 +278,9 @@ def copy(self):
278
to efficiently compute the digests of strings that share
279
a common initial substring.
280
"""
281
- if 0: # set this to 1 to make the flow space crash
282
- return copy.deepcopy(self)
283
- clone = self.__class__()
284
- clone.length = self.length
285
- clone.count = [] + self.count[:]
286
- clone.input = "" + self.input
287
- clone.S = self.S
288
- return clone
+
+ import copy
+ return copy.deepcopy(self)
289
290
# ======================================================================
291
# TOP LEVEL INTERFACE
0 commit comments