Skip to content

Commit ce8f364

Browse files
committed
pythongh-121196: Document dict.fromkeys params as pos-only
1 parent bd473aa commit ce8f364

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)