File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4968,9 +4968,6 @@ can be used interchangeably to index the same dictionary entry.
49684968 being added is already present, the value from the keyword argument
49694969 replaces the value from the positional argument.
49704970
4971- Providing keyword arguments as in the first example only works for keys that
4972- are valid Python identifiers. Otherwise, any valid keys can be used.
4973-
49744971 Dictionaries compare equal if and only if they have the same ``(key,
49754972 value) `` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', '>') raise
49764973 :exc: `TypeError `. To illustrate dictionary creation and equality,
@@ -4986,6 +4983,9 @@ can be used interchangeably to index the same dictionary entry.
49864983 >>> a == b == c == d == e == f
49874984 True
49884985
4986+ Providing keyword arguments as in the first example only works for keys that
4987+ are valid Python identifiers. Otherwise, any valid keys can be used.
4988+
49894989 Dictionaries preserve insertion order. Note that updating a key does not
49904990 affect the order. Keys added after deletion are inserted at the end. ::
49914991
You can’t perform that action at this time.
0 commit comments