Skip to content

Commit b8261bb

Browse files
committed
Update comment
1 parent 94ed98b commit b8261bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PC/winreg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ winreg_CreateKeyEx_impl(PyObject *module, HKEY key, const wchar_t *sub_key,
992992
if (disposition == REG_OPENED_EXISTING_KEY) {
993993
PyErr_SetString(PyExc_FileExistsError, "");
994994
if (retKey != key) {
995-
// This is predefined key and doesn't need close.
995+
// This is not a predefined key and needs to be closed.
996996
RegCloseKey(key);
997997
}
998998
PySys_Audit("winreg.OpenKey/result", "n", NULL);

0 commit comments

Comments
 (0)