Skip to content

Commit

Permalink
[3.13] gh-121196: Document dict.fromkeys params as pos-only (GH-121197
Browse files Browse the repository at this point in the history
) (#121242)

gh-121196: Document `dict.fromkeys` params as pos-only (GH-121197)
(cherry picked from commit 1dc9a4f)

Co-authored-by: sobolevn <[email protected]>
  • Loading branch information
miss-islington and sobolevn authored Jul 1, 2024
1 parent 06fd745 commit 78c7732
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 78c7732

Please sign in to comment.