Fix an error message in the _winreg module. The error message referred
to a constant in the 'win32con' module, but this constant is also
defined in the _winreg module itself.
Bugfix candidate.
diff --git a/PC/_winreg.c b/PC/_winreg.c
index 07190ec..cbf30fc 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -1315,7 +1315,7 @@
return NULL;
if (typ != REG_SZ) {
PyErr_SetString(PyExc_TypeError,
- "Type must be win32con.REG_SZ");
+ "Type must be _winreg.REG_SZ");
return NULL;
}
/* XXX - need Unicode support */