Summary: Fix comment on insert_after_in_ordered_dict
- Legacy-Id: 8897
This commit is contained in:
parent
d0999c8b5e
commit
b3823d5768
|
@ -1,5 +1,7 @@
|
|||
def insert_after_in_ordered_dict(dictionary, key, value, after):
|
||||
# there's no insert in ordered dict so re-add entries after confirm_acronym instead
|
||||
"""There's no "insert" in ordered dict so simulate it instead by
|
||||
re-adding entries. Obviously that's not ideal, but for small dicts the
|
||||
overhead is negligible."""
|
||||
dictionary[key] = value
|
||||
|
||||
reorder = False
|
||||
|
|
Loading…
Reference in a new issue