mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08: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 New Issue
Block a user