Skip to content

Commit 897d768

Browse files
committed
Complete the doc
1 parent 419a70d commit 897d768

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5759,8 +5759,10 @@ Frozen dictionaries
57595759

57605760
.. classmethod:: fromkeys(iterable, value=None, /)
57615761

5762-
Similar to :meth:`dict.fromkeys`, but call the type constructor with a
5763-
:class:`frozendict` if the type is a :class:`frozendict` subclass.
5762+
Similar to :meth:`dict.fromkeys`, but call again the type constructor
5763+
with an initialized :class:`frozendict` if the type is a
5764+
:class:`frozendict` subclass or if the constructor returned a
5765+
:class:`frozendict`.
57645766

57655767
.. versionadded:: 3.15
57665768

0 commit comments

Comments
 (0)