Skip to content

Commit b021c12

Browse files
committed
Hashable
1 parent 490a763 commit b021c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ class MyComparable:
654654
```python
655655
class MyHashable:
656656
def __init__(self, a):
657-
self.__a = a
657+
self.__a = copy.deepcopy(a)
658658
@property
659659
def a(self):
660660
return self.__a

0 commit comments

Comments
 (0)