gh-121196: Document `dict.fromkeys` params as pos-only (#121197)

This commit is contained in:
sobolevn 2024-07-01 23:27:04 +03:00 committed by GitHub
parent 33903c53db
commit 1dc9a4f6b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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*.