mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update python/ql/src/Expressions/DuplicateKeyInDictionaryLiteral.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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])
|
||||
Reference in New Issue
Block a user