diff options
author | Thomas Heller <theller@ctypes.org> | 2002-12-20 20:13:35 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2002-12-20 20:13:35 (GMT) |
commit | e1d18f52c3e499cfbfe9f17192dbc84a80a57db8 (patch) | |
tree | 14f07c23fd914f480a6319ac2b5929b6e74c1b73 | |
parent | 4ba6067d6bdc2a535e0f691418c1fbb4b4189039 (diff) | |
download | cpython-e1d18f52c3e499cfbfe9f17192dbc84a80a57db8.zip cpython-e1d18f52c3e499cfbfe9f17192dbc84a80a57db8.tar.gz cpython-e1d18f52c3e499cfbfe9f17192dbc84a80a57db8.tar.bz2 |
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.
-rw-r--r-- | PC/_winreg.c | 2 |
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 */ |