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

Function enum_keys

Lib/test/test_launcher.py:116–123  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

114
115
116def enum_keys(root):
117 for i in itertools.count():
118 try:
119 yield winreg.EnumKey(root, i)
120 except OSError as ex:
121 if ex.winerror == 259:
122 break
123 raise
124
125
126def delete_registry_data(root, keys):

Callers 1

delete_registry_dataFunction · 0.85

Calls 2

EnumKeyMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…