File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1490,7 +1490,8 @@ class C:
14901490 If given, 'dict_factory' will be used instead of built-in dict.
14911491 The function applies recursively to field values that are
14921492 dataclass instances. This will also look into built-in containers:
1493- tuples, lists, and dicts. Other objects are copied with 'copy.deepcopy()'.
1493+ tuples, lists, dicts, and frozendicts. Other objects are copied
1494+ with 'copy.deepcopy()'.
14941495 """
14951496 if not _is_dataclass_instance (obj ):
14961497 raise TypeError ("asdict() should be called on dataclass instances" )
@@ -1581,7 +1582,8 @@ class C:
15811582 If given, 'tuple_factory' will be used instead of built-in tuple.
15821583 The function applies recursively to field values that are
15831584 dataclass instances. This will also look into built-in containers:
1584- tuples, lists, and dicts. Other objects are copied with 'copy.deepcopy()'.
1585+ tuples, lists, dicts, and frozendicts. Other objects are copied
1586+ with 'copy.deepcopy()'.
15851587 """
15861588
15871589 if not _is_dataclass_instance (obj ):
You can’t perform that action at this time.
0 commit comments