def _set_limit(self, data, key, read, write):
if read != "<STR_LIT:0>" or write != "<STR_LIT:0>":<EOL><INDENT>data[key] = {"<STR_LIT>": read, "<STR_LIT>": write}<EOL><DEDENT>elif key in data:<EOL><INDENT>del data[key]<EOL><DEDENT>
Set a limit or delete if non provided