summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/_winreg.c2
1 files changed, 1 insertions, 1 deletions
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 @@ PySetValue(PyObject *self, PyObject *args)
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 */