File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4577,7 +4577,7 @@ can be used interchangeably to index the same dictionary entry.
4577
4577
such as an empty list. To get distinct values, use a :ref: `dict
4578
4578
comprehension <dict>` instead.
4579
4579
4580
- .. method :: get(key, default=None)
4580
+ .. method :: get(key, default=None, / )
4581
4581
4582
4582
Return the value for *key * if *key * is in the dictionary, else *default *.
4583
4583
If *default * is not given, it defaults to ``None ``, so that this method
@@ -4619,7 +4619,7 @@ can be used interchangeably to index the same dictionary entry.
4619
4619
4620
4620
.. versionadded :: 3.8
4621
4621
4622
- .. method :: setdefault(key, default=None)
4622
+ .. method :: setdefault(key, default=None, / )
4623
4623
4624
4624
If *key * is in the dictionary, return its value. If not, insert *key *
4625
4625
with a value of *default * and return *default *. *default * defaults to
You can’t perform that action at this time.
0 commit comments