Skip to content

Commit b3823d5

Browse files
committed
Summary: Fix comment on insert_after_in_ordered_dict
- Legacy-Id: 8897
1 parent d0999c8 commit b3823d5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/utils/ordereddict.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
def insert_after_in_ordered_dict(dictionary, key, value, after):
2-
# there's no insert in ordered dict so re-add entries after confirm_acronym instead
2+
"""There's no "insert" in ordered dict so simulate it instead by
3+
re-adding entries. Obviously that's not ideal, but for small dicts the
4+
overhead is negligible."""
35
dictionary[key] = value
46

57
reorder = False

0 commit comments

Comments
 (0)