(self, hkey)
| 1076 | raise FileNotFoundError() |
| 1077 | |
| 1078 | def CloseKey(self, hkey): |
| 1079 | if verbose: |
| 1080 | print(f"CloseKey({hkey})") |
| 1081 | hkey = hkey.casefold() |
| 1082 | if hkey not in self.open: |
| 1083 | raise RuntimeError("key is not open") |
| 1084 | self.open[hkey] -= 1 |
| 1085 | if not self.open[hkey]: |
| 1086 | del self.open[hkey] |
| 1087 | |
| 1088 | def EnumKey(self, hkey, i): |
| 1089 | if verbose: |
no test coverage detected