def del_subkey(self,name):
self.sam |= KEY_WRITE<EOL>subkey = self.get_subkey(name)<EOL>subkey.clear()<EOL>_winreg.DeleteKey(subkey.parent.hkey,subkey.name)<EOL>
Delete the named subkey, and any values or keys it contains.