Skip to content

Commit 8037052

Browse files
committed
docstring
1 parent bfb6f26 commit 8037052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugr-py/src/hugr/hugr/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def insert_hugr(self, hugr: Hugr, parent: ToNode | None = None) -> dict[Node, No
935935
return mapping
936936

937937
def _overwrite_hugr(self, new_hugr: Hugr) -> None:
938-
"""Modify a Hugr in place by replacing attributes with those from a new Hugr."""
938+
"""Modify a Hugr in place by replacing contents with those from a new Hugr."""
939939
self.module_root = new_hugr.module_root
940940
self.entrypoint = new_hugr.entrypoint
941941
self._nodes = new_hugr._nodes

0 commit comments

Comments
 (0)