Update python/ql/src/Expressions/DuplicateKeyInDictionaryLiteral.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Joe Farebrother
2025-07-15 13:33:57 +01:00
committed by GitHub
parent 909f57261c
commit 0f5be2d096

View File

@@ -1,2 +1,2 @@
dictionary = {1:"a", 2:"b", 2:"c"} # BAD: `2` key is duplicated.
dictionary = {1:"a", 2:"b", 2:"c"} # BAD: The `2` key is duplicated.
print(dictionary[2])