mirror of
https://github.com/python/cpython
synced 2024-10-14 11:58:12 +00:00
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:
parent
4ba6067d6b
commit
e1d18f52c3
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue