From bda3d4c8e1b00fd87a73dbdc680ee8bd25e2b154 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 1 Jul 2024 23:27:04 +0300 Subject: [PATCH] gh-121196: Document `dict.fromkeys` params as pos-only (GH-121197) (cherry picked from commit 1dc9a4f6b20148fd4ef2eb2800a6c65224828181) Co-authored-by: sobolevn --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 79687b94f0a8e4..8a7f73754ad904 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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*.