summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-07-01 20:27:04 (GMT)
committerGitHub <noreply@github.com>2024-07-01 20:27:04 (GMT)
commit1dc9a4f6b20148fd4ef2eb2800a6c65224828181 (patch)
tree35b92a1834ff7cd2e4469aeb8bf8d4702010a931
parent33903c53dbdb768e1ef7c46d347869577f2173ce (diff)
downloadcpython-1dc9a4f6b20148fd4ef2eb2800a6c65224828181.zip
cpython-1dc9a4f6b20148fd4ef2eb2800a6c65224828181.tar.gz
cpython-1dc9a4f6b20148fd4ef2eb2800a6c65224828181.tar.bz2
gh-121196: Document `dict.fromkeys` params as pos-only (#121197)
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 34f6e44..54cc7d1 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*.