mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-121196: Document dict.fromkeys
params as pos-only (#121197)
This commit is contained in:
parent
33903c53db
commit
1dc9a4f6b2
1 changed files with 1 additions and 1 deletions
|
@ -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*.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue