Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def foo(dct):
- try:
- _ = dct[12]
- except KeyError:
- assert 12 not in dct
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement