From 0506d09463e83dc32ed486925f17d2e7ece00806 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 15 Nov 2023 15:08:16 +0100 Subject: [PATCH] missed --- swig/edata.i | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swig/edata.i b/swig/edata.i index d8afffa43e..86f2df1365 100644 --- a/swig/edata.i +++ b/swig/edata.i @@ -77,6 +77,10 @@ def __repr__(self): def __eq__(self, other): return isinstance(other, self.__class__) and __eq__(self, other) + +def __deepcopy__(self, memo): + # invoke copy constructor + return type(self)(self) %} }; %extend std::unique_ptr {