mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Remove a useless XXX comment.
Cosmetic changes to the code so that the #ifdef _UNICODE block doesn't mess emacs code formatting.
This commit is contained in:
parent
cddabbf98a
commit
944f3b6ecb
1 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue