https://github.com/python/cpython/commit/78c77327a9eff885f02865a47bdc28dcc9fd4a64 commit: 78c77327a9eff885f02865a47bdc28dcc9fd4a64 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn <[email protected]> date: 2024-07-01T20:43:34Z summary:
[3.13] gh-121196: Document `dict.fromkeys` params as pos-only (GH-121197) (#121242) gh-121196: Document `dict.fromkeys` params as pos-only (GH-121197) (cherry picked from commit 1dc9a4f6b20148fd4ef2eb2800a6c65224828181) Co-authored-by: sobolevn <[email protected]> files: M Doc/library/stdtypes.rst 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*. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
