From: sobolevn Date: Mon, 1 Jul 2024 20:27:04 +0000 (+0300) Subject: gh-121196: Document `dict.fromkeys` params as pos-only (#121197) X-Git-Tag: v3.14.0a1~1263 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1dc9a4f6b20148fd4ef2eb2800a6c65224828181;p=thirdparty%2FPython%2Fcpython.git gh-121196: Document `dict.fromkeys` params as pos-only (#121197) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 34f6e44babe5..54cc7d1333d3 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*.