Commit e1d18f52 authored by Thomas Heller's avatar Thomas Heller

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.
parent 4ba6067d
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment