mirror of https://github.com/python/cpython
gh-121196: Document `dict.fromkeys` params as pos-only (#121197)
This commit is contained in:
parent
33903c53db
commit
1dc9a4f6b2
|
@ -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…
Reference in New Issue