MCPcopy Index your code
hub / github.com/RustPython/RustPython / CloseKey

Function CloseKey

crates/vm/src/stdlib/winreg.rs:367–369  ·  view source on GitHub ↗
(hkey: PyRef<PyHkey>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

365
366 #[pyfunction]
367 fn CloseKey(hkey: PyRef<PyHkey>, vm: &VirtualMachine) -> PyResult<()> {
368 hkey.Close(vm)
369 }
370
371 #[pyfunction]
372 fn DeleteKey(key: PyRef<PyHkey>, sub_key: String, vm: &VirtualMachine) -> PyResult<()> {

Callers 3

delete_registry_treeFunction · 0.90
delete_treeMethod · 0.85
_write_test_dataMethod · 0.85

Calls 1

CloseMethod · 0.45

Tested by 3

delete_registry_treeFunction · 0.72
delete_treeMethod · 0.68
_write_test_dataMethod · 0.68