Skip to content

Commit cc5d549

Browse files
committed
update documentation
1 parent d2d5e95 commit cc5d549

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/dataclasses.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ Module contents
371371
Converts the dataclass *obj* to a dict (by using the
372372
factory function *dict_factory*). Each dataclass is converted
373373
to a dict of its fields, as ``name: value`` pairs. dataclasses, dicts,
374-
lists, and tuples are recursed into. Other objects are copied with
375-
:func:`copy.deepcopy`.
374+
frozendicts, lists, and tuples are recursed into. Other objects are copied
375+
with :func:`copy.deepcopy`.
376376

377377
Example of using :func:`!asdict` on nested dataclasses::
378378

@@ -402,8 +402,8 @@ Module contents
402402

403403
Converts the dataclass *obj* to a tuple (by using the
404404
factory function *tuple_factory*). Each dataclass is converted
405-
to a tuple of its field values. dataclasses, dicts, lists, and
406-
tuples are recursed into. Other objects are copied with
405+
to a tuple of its field values. dataclasses, dicts, frozendicts, lists,
406+
and tuples are recursed into. Other objects are copied with
407407
:func:`copy.deepcopy`.
408408

409409
Continuing from the previous example::

0 commit comments

Comments
 (0)