def __getitem__(self, key):
    try:
        return dict.__getitem__(self, key)
    except KeyError:
        return None
def __getitem__(self, key):
    try:
        return dict.__getitem__(self, key)
    except KeyError:
        return None