Skip to content

Commit 429c105

Browse files
fix docstring
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
1 parent ae30526 commit 429c105

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compressed_tensors/utils/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ def patch_attrs(bases: list[object], attr: str, values: list[Any]):
383383
384384
Usage:
385385
>>> from types import SimpleNamespace
386-
>>> obj = SimpleNamespace()
386+
>>> obj1 = SimpleNamespace()
387+
>>> obj2 = SimpleNamespace()
387388
>>> with patch_attr([obj1, obj2], "attribute", ["value1", "value2"]):
388389
... assert obj1.attribute == "value1"
389390
... assert obj2.attribute == "value2"

0 commit comments

Comments
 (0)