https://github.com/python/cpython/commit/e5a19b981d5e5dd23961938bdfa6a1b4a2574e24 commit: e5a19b981d5e5dd23961938bdfa6a1b4a2574e24 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn <m...@sobolevn.me> date: 2024-07-01T20:37:19Z summary:
[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 1dc9a4f6b20148fd4ef2eb2800a6c65224828181) Co-authored-by: sobolevn <m...@sobolevn.me> files: M Doc/library/stdtypes.rst diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f1f413ef366dd1..6d99d074d9dda7 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4556,7 +4556,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 -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com