Skip to content

Commit c1050de

Browse files
sobolevnmiss-islington
authored andcommitted
gh-121196: Document dict.fromkeys params as pos-only (GH-121197)
(cherry picked from commit 1dc9a4f) Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent b93386e commit c1050de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4556,7 +4556,7 @@ can be used interchangeably to index the same dictionary entry.
45564556

45574557
Return a shallow copy of the dictionary.
45584558

4559-
.. classmethod:: fromkeys(iterable, value=None)
4559+
.. classmethod:: fromkeys(iterable, value=None, /)
45604560

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

0 commit comments

Comments
 (0)