Skip to content

Commit e5a19b9

Browse files
[3.12] gh-121196: Document dict.fromkeys params as pos-only (GH-121197) (#121243)
gh-121196: Document `dict.fromkeys` params as pos-only (GH-121197) (cherry picked from commit 1dc9a4f) Co-authored-by: sobolevn <[email protected]>
1 parent b93386e commit e5a19b9

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
@@ -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)