MCPcopy Index your code
hub / github.com/python/cpython / delete_registry_data

Function delete_registry_data

Lib/test/test_launcher.py:126–131  ·  view source on GitHub ↗
(root, keys)

Source from the content-addressed store, hash-verified

124
125
126def delete_registry_data(root, keys):
127 ACCESS = winreg.KEY_WRITE | winreg.KEY_ENUMERATE_SUB_KEYS
128 for key in list(keys):
129 with winreg.OpenKey(root, key, access=ACCESS) as hkey:
130 delete_registry_data(hkey, enum_keys(hkey))
131 winreg.DeleteKey(root, key)
132
133
134def is_installed(tag):

Callers 1

tearDownClassMethod · 0.85

Calls 2

listClass · 0.85
enum_keysFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…