diff options
author | Thomas Heller <theller@ctypes.org> | 2006-07-28 19:42:40 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-07-28 19:42:40 (GMT) |
commit | 944f3b6ecba741b54fed1190980fba1272568ebe (patch) | |
tree | 7ecac7811d2e1d6dc528a5cb3d3c86ffc3e50dd2 /Modules | |
parent | cddabbf98ab16a1daa5cc36e0ef0767066d4feed (diff) | |
download | cpython-944f3b6ecba741b54fed1190980fba1272568ebe.zip cpython-944f3b6ecba741b54fed1190980fba1272568ebe.tar.gz cpython-944f3b6ecba741b54fed1190980fba1272568ebe.tar.bz2 |
Remove a useless XXX comment.
Cosmetic changes to the code so that the #ifdef _UNICODE block
doesn't mess emacs code formatting.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/callproc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index 6342ece..a57eecb 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -851,17 +851,17 @@ GetComError(HRESULT errcode, GUID *riid, IUnknown *pIunk) progid = NULL; ProgIDFromCLSID(&guid, &progid); -/* XXX Is COMError derived from WindowsError or not? */ text = FormatError(errcode); + obj = Py_BuildValue( #ifdef _UNICODE - obj = Py_BuildValue("iu(uuuiu)", + "iu(uuuiu)", #else - obj = Py_BuildValue("is(uuuiu)", + "is(uuuiu)", #endif - errcode, - text, - descr, source, helpfile, helpcontext, - progid); + errcode, + text, + descr, source, helpfile, helpcontext, + progid); if (obj) { PyErr_SetObject(ComError, obj); Py_DECREF(obj); |