mirror of
https://github.com/github/codeql.git
synced 2025-12-25 05:06:34 +01:00
6 lines
131 B
Python
6 lines
131 B
Python
|
|
def lookup_with_default_key(mapping, key=None):
|
|
if key is None:
|
|
key = [] # Should be key = ()
|
|
return mapping[key]
|