Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bda3d4c

Browse filesBrowse files
sobolevnmiss-islington
authored andcommitted
pythongh-121196: Document dict.fromkeys params as pos-only (pythonGH-121197)
(cherry picked from commit 1dc9a4f) Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 06fd745 commit bda3d4c
Copy full SHA for bda3d4c

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Doc/library/stdtypes.rst

Copy file name to clipboardExpand all lines: Doc/library/stdtypes.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4565,7 +4565,7 @@ can be used interchangeably to index the same dictionary entry.
45654565

45664566
Return a shallow copy of the dictionary.
45674567

4568-
.. classmethod:: fromkeys(iterable, value=None)
4568+
.. classmethod:: fromkeys(iterable, value=None, /)
45694569

45704570
Create a new dictionary with keys from *iterable* and values set to *value*.
45714571

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.