Skip to content

Commit

Permalink
pythongh-121196: Document dict.fromkeys params as pos-only (python#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored and estyxx committed Jul 17, 2024
1 parent 6fcc55e commit e7b5a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4565,7 +4565,7 @@ can be used interchangeably to index the same dictionary entry.

Return a shallow copy of the dictionary.

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

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

Expand Down

0 comments on commit e7b5a6d

Please sign in to comment.