Skip to content

Commit 78c7732

Browse files
[3.13] gh-121196: Document dict.fromkeys params as pos-only (GH-121197) (#121242)
gh-121196: Document `dict.fromkeys` params as pos-only (GH-121197) (cherry picked from commit 1dc9a4f) Co-authored-by: sobolevn <[email protected]>
1 parent 06fd745 commit 78c7732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4565,7 +4565,7 @@ can be used interchangeably to index the same dictionary entry.
45654565

45664566
Return a shallow copy of the dictionary.
45674567

4568-
.. classmethod:: fromkeys(iterable, value=None)
4568+
.. classmethod:: fromkeys(iterable, value=None, /)
45694569

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

0 commit comments

Comments
 (0)