Skip to content

Commit df0d473

Browse files
committed
Fix desc deepcopy
1 parent 91ce391 commit df0d473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxnotes/snippet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def excerpt(self) -> str:
172172

173173
def __getstate__(self) -> Dict[str,Any]:
174174
"""Implement :py:meth:`pickle.object.__getstate__`."""
175-
self.description = self.description.deepcopy()
175+
self.description = [x.deepcopy() for x in self.description]
176176
return super().__getstate__()
177177

178178

0 commit comments

Comments
 (0)