File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4780,7 +4780,7 @@ can be used interchangeably to index the same dictionary entry.
4780
4780
such as an empty list. To get distinct values, use a :ref: `dict
4781
4781
comprehension <dict>` instead.
4782
4782
4783
- .. method :: get(key, default=None)
4783
+ .. method :: get(key, default=None, / )
4784
4784
4785
4785
Return the value for *key * if *key * is in the dictionary, else *default *.
4786
4786
If *default * is not given, it defaults to ``None ``, so that this method
@@ -4822,7 +4822,7 @@ can be used interchangeably to index the same dictionary entry.
4822
4822
4823
4823
.. versionadded :: 3.8
4824
4824
4825
- .. method :: setdefault(key, default=None)
4825
+ .. method :: setdefault(key, default=None, / )
4826
4826
4827
4827
If *key * is in the dictionary, return its value. If not, insert *key *
4828
4828
with a value of *default * and return *default *. *default * defaults to
You can’t perform that action at this time.
0 commit comments