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.
This commit is contained in:
Thomas Heller 2002-12-20 20:13:35 +00:00
parent 4ba6067d6b
commit e1d18f52c3

View file

@ -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 */