Skip to content

Commit 1d919c1

Browse files
committed
Looks like BasicUnit has a similar bug
1 parent 114691a commit 1d919c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/units/basic_units.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ def __init__(self, value, unit):
132132
self.unit = unit
133133
self.proxy_target = self.value
134134

135+
def __copy__(self):
136+
return TaggedValue(self.value, self.unit)
137+
135138
def __getattribute__(self, name):
136139
if name.startswith('__'):
137140
return object.__getattribute__(self, name)

0 commit comments

Comments
 (0)