[Ref] deepcopy annotations and repetitions
This commit is contained in:
parent
92d0140093
commit
9296011d4b
1 changed files with 2 additions and 2 deletions
|
|
@ -100,8 +100,8 @@ class Ref(
|
||||||
def __deepcopy__(self, memo: dict | None = None) -> 'Ref':
|
def __deepcopy__(self, memo: dict | None = None) -> 'Ref':
|
||||||
memo = {} if memo is None else memo
|
memo = {} if memo is None else memo
|
||||||
new = copy.copy(self)
|
new = copy.copy(self)
|
||||||
#new.repetition = copy.deepcopy(self.repetition, memo)
|
new.repetition = copy.deepcopy(self.repetition, memo)
|
||||||
#new.annotations = copy.deepcopy(self.annotations, memo)
|
new.annotations = copy.deepcopy(self.annotations, memo)
|
||||||
return new
|
return new
|
||||||
|
|
||||||
def __lt__(self, other: 'Ref') -> bool:
|
def __lt__(self, other: 'Ref') -> bool:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue