Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4201,9 +4201,9 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:

Return a shallow copy of the dictionary.

.. classmethod:: fromkeys(seq[, value])
.. classmethod:: fromkeys(iterable[, value])

Create a new dictionary with keys from *seq* and values set to *value*.
Create a new dictionary with keys from *iterable* and values set to *value*.

:meth:`fromkeys` is a class method that returns a new dictionary. *value*
defaults to ``None``.
Expand Down