def get(self, key, default = None): """All getters and setters have been overwriten, in order for key standardization to take place.""" key = standardize_key(key) if key in self: return self[key] else: return default
def __setitem__(self, key, val): key = standardize_key(key) if key is not None: dict.__setitem__(self, key, val)
def __getitem__(self, key): key = standardize_key(key) if key is None: return None return(dict.__getitem__(self, key))