def delall(self, key):
if key in self:<EOL><INDENT>del(self[key])<EOL><DEDENT>else:<EOL><INDENT>key = key + "<STR_LIT::>"<EOL>for k in self.keys():<EOL><INDENT>if k.startswith(key):<EOL><INDENT>del(self[k])<EOL><DEDENT><DEDENT><DEDENT>
Delete all tags of a given kind; see getall.